1 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
4 |
|
attribute are added. |
5 |
|
|
6 |
|
* XDoctype.dis (createGeneralEntity): New method. |
7 |
|
(generalEntities): New attribute. |
8 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
9 |
|
|
10 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
11 |
|
(ManakaiDOMEntityMap): New class. |
12 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
13 |
|
(createEntityReference): If there is a corresponding |Entity| |
14 |
|
node in the document type definition, then copies its |
15 |
|
subtree. |
16 |
|
|
17 |
|
* DOMXML.dis (Entity): Documentation updated. |
18 |
|
(publicId, systemId, notationName, xmlEncoding, |
19 |
|
xmlVersion): These attributes are now settable |
20 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
21 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
22 |
|
mode. |
23 |
|
(ownerDocumentTypeDefinition): New attribute |
24 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
25 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
26 |
|
|
27 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
30 |
|
|
31 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
32 |
|
|
33 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
34 |
|
(ManakaiDOMAttributes): Removed. |
35 |
|
(ManakaiDOMAttrMap): New class. |
36 |
|
(ManakaiDOMAttrMapArray): New class. |
37 |
|
(namespaceURI): Bug to return a string representation |
38 |
|
of a reference to the namespace URI string is fixed. |
39 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
40 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
41 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
42 |
|
if there is no attribute node. |
43 |
|
(createElement, createElementNS): DTD default attributes are supported. |
44 |
|
(setAttributeNode): Reimplemented. |
45 |
|
|
46 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
49 |
|
|
50 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
51 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
52 |
|
(schemaTypeInfo): Implemented for XML DTD. |
53 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
54 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
55 |
|
of the newly created |Attr| node (if any) when attribute |
56 |
|
definition is available. |
57 |
|
(doctype, documentElement): Reimplemented with tests. |
58 |
|
|
59 |
|
* XMLParser.dis: Sets [attribute type] information |
60 |
|
to created |Attr| nodes. Normalize namespace URIs |
61 |
|
when such information are available (unlikely but legal). |
62 |
|
(_HexadecimalCharacterReference): Number to character |
63 |
|
convertion bug fixed. |
64 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
65 |
|
configuration parameter to XML DTD URI. |
66 |
|
|
67 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
70 |
|
attribute definition nodes. |
71 |
|
|
72 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
73 |
|
and another |UNKNOWN_ATTR| constant is introduced |
74 |
|
for consistency with XML Infoset. |
75 |
|
|
76 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
77 |
|
|
78 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* XDoctype.dis: A bug in test code fixed. |
81 |
|
|
82 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
83 |
|
definition named node maps now can be dereferenced |
84 |
|
as if they are array or hash references. |
85 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
86 |
|
or attribute definitions. |
87 |
|
(length): Tests added. |
88 |
|
(NamedNodeMapArray): New classes. |
89 |
|
|
90 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
93 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
94 |
|
if the new node is already used for another definition. |
95 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
96 |
|
property name was incorrect. |
97 |
|
(elementTypes, attributeDefinitions): Checks to |
98 |
|
ensure the collection is empty added. |
99 |
|
|
100 |
|
* Tree.dis: Property name typos fixed. |
101 |
|
(setNamedItem, setAttributeNode): Don't return any node |
102 |
|
if it replace itself. |
103 |
|
(c:userDeterminedId): Missing definition added. |
104 |
|
|
105 |
|
* DOMXML.dis (Notation): Missing property specification |
106 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
107 |
|
|
108 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* DOMCore.dis (Test): Missing argument added. |
111 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
112 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
113 |
|
error conditions were incorrect. |
114 |
|
|
115 |
|
* .cvsignore: Dummy files added. |
116 |
|
|
117 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
120 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
121 |
|
|
122 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
123 |
|
to avoid uninitialized value warning. |
124 |
|
|
125 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
126 |
|
classes (work in progress). |
127 |
|
|
128 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
129 |
|
|
130 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* Tree.dis (getAttribute): Returns |null| if there |
133 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
134 |
|
with Web browser implementations. |
135 |
|
(getAttributeNS): It returned |null| if there |
136 |
|
is no attribute in any |For| unintentionally. It now |
137 |
|
returns an empty string in DOM levels less than or equals |
138 |
|
to three. |
139 |
|
|
140 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
141 |
|
uninitialized value or substring out of range. |
142 |
|
|
143 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
146 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
147 |
|
|
148 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
149 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
150 |
|
node to the document. |
151 |
|
(_ProcessingInstructionDTD): Appends a processing |
152 |
|
instruction node to the document type definition. |
153 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
154 |
|
|
155 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
158 |
|
code (seprated from |InputProcessor|). Now |
159 |
|
a |features| parameter's version can be specified by |
160 |
|
an array reference that contains a set of version |
161 |
|
numbers. A test added. |
162 |
|
|
163 |
|
* XMLParser.dis: A test added. |
164 |
|
|
165 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
168 |
|
because it does not work with dummy object used in the test code. |
169 |
|
|
170 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
173 |
|
namespace URI is defined for not being warned. |
174 |
|
|
175 |
|
* XDoctype.dis: New module. |
176 |
|
|
177 |
|
* DOMCore.dis (DOMStringList): Test added. |
178 |
|
|
179 |
|
* Makefile: |XDoctype.pm| added. |
180 |
|
|
181 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
182 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
183 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
184 |
|
object (it was incorrectly tested to return |null|). |
185 |
|
(EmptyNodeList.DESTROY): Removed. |
186 |
|
|
187 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
190 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
191 |
|
(appendChild, insertBefore, replaceChild): New |
192 |
|
two node types added and processing instruction nodes |
193 |
|
as document type definition node child is allowed |
194 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
195 |
|
(getNodeReference): New |interface| parameter |
196 |
|
to filter classes by interface is added. |
197 |
|
(ElementTypeDefinitionRole): New role. |
198 |
|
(AttributeDefinitionRole): New role. |
199 |
|
|
200 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
203 |
|
|
204 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
207 |
|
if it is not provided. |
208 |
|
|
209 |
|
* XMLParser.dis: Parsing methods to skip document |
210 |
|
type declaration is added. |
211 |
|
|
212 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
215 |
|
or not. Normalize end-of-lines. |
216 |
|
(rule _XMLDeclaration_): Implemented. |
217 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
218 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
219 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
220 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
221 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
222 |
|
|wf-legal-character| added. |
223 |
|
(%character-code-point): New formatter rule. |
224 |
|
|
225 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
226 |
|
|
227 |
|
* DOMCore.dis (DOMError.stringify): Added. |
228 |
|
(error-handler.default): Returns |false| (don't continue) |
229 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
230 |
|
|
231 |
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
* XMLParser.dis (DocumentEntity): Typos fixed. |
* XMLParser.dis (DocumentEntity): Typos fixed. |