1 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value. |
4 |
|
(TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support |
5 |
|
is added. The |FILTER_REJECT| value is treated |
6 |
|
as |FILTER_ACCEPT| if the |currentNode| is in the |
7 |
|
rejected subtree as specified in the spec. |
8 |
|
|
9 |
|
2006-05-05 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* SimpleLS.dis: An |xmlns:| prefix was missing. |
12 |
|
|
13 |
|
2006-05-04 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* SimpleLS.dis: Namespace bugs are fixed. |
16 |
|
|
17 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* .cvsignore: Updated. |
20 |
|
|
21 |
|
* Traversal.dis: Unused declarations are removed. |
22 |
|
|
23 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* CharacterData.dis (Require): A reference to |
26 |
|
the |MDOM:Traversal| module is added. |
27 |
|
(wholeText): Implemented. |
28 |
|
|
29 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* Makefile: |Traversal.dis| is added. |
32 |
|
|
33 |
|
* Traversal.dis: New module. |
34 |
|
|
35 |
|
* TreeCore.dis (___report_error): Return value was |
36 |
|
not propagated. |
37 |
|
|
38 |
|
2006-04-29 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* Element.dis (removeAttributeNS): A runtime error |
41 |
|
was occurred if there was no specified attribute node. |
42 |
|
|
43 |
|
* TreeCore.dis (manakaiLanguage): New attribute. |
44 |
|
|
45 |
|
2006-04-28 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly): |
48 |
|
New attributes. |
49 |
|
|
50 |
|
(StaticNodeList): New interface. |
51 |
|
|
52 |
|
2006-04-24 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* DOMCore.dis (c:SET_TO_NULL_ERR): New error code. |
55 |
|
|
56 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* SimpleLS.dis: Reimplemented. |
59 |
|
|
60 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now |
63 |
|
a qualified name. |
64 |
|
(tc:EXTERNAL_NODE_COMPARISON_ERR): New error type. |
65 |
|
|
66 |
|
* TreeCore.dis (compareDocumentPosition): Implemented. |
67 |
|
(normalize): Implemented. |
68 |
|
(STORESIZE, CLEAR): Were not implemented for |EmptyNodeList| |
69 |
|
class. |
70 |
|
|
71 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed. |
74 |
|
|
75 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* CharacterData.dis (length, insertData, substringData, |
78 |
|
appendData, deleteData, replaceData, splitText): Reimplemented. |
79 |
|
|
80 |
|
* DOMCore.dis (NEGATIVE_LENGTH_ERR): New error. |
81 |
|
(c:index): The definition was missing. |
82 |
|
(c:length): New property. |
83 |
|
|
84 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* XMLParser.dis (close): Invoke |close| method |
87 |
|
rather than |close| function. |
88 |
|
|
89 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* CharacterData.dis: New module split from |TreeCore.dis|. |
92 |
|
|
93 |
|
* CharacterData.pm: Added to the CVS repository. |
94 |
|
|
95 |
|
* TreeCore.dis: The |CharacterData|, |Text|, and |Comment| |
96 |
|
interfaces are removed. |
97 |
|
(Require): A reference to the |MDOM:CharacterData| module |
98 |
|
is added. |
99 |
|
|
100 |
|
* DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed. |
101 |
|
|
102 |
|
* DOMCore.dis (StringOutOfBoundsException): New error. |
103 |
|
|
104 |
|
* Makefile: |CharacterData.pm| is added. |
105 |
|
|
106 |
|
2006-04-09 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* XMLParser.dis (Require): Requires the |MCharset:Encode| |
109 |
|
module. |
110 |
|
(parse): Set the |inputEncoding| attribute of the generated document |
111 |
|
object. |
112 |
|
(resolveLSInput default implementation): The |byteStream| |
113 |
|
and |encoding| attributes of the |LSInput| interface |
114 |
|
are now supported. |
115 |
|
(resolveLSInput): Parameters |impl| and |parser| are added. |
116 |
|
(InputFile.inputEncoding): New attribute. |
117 |
|
|
118 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* Document.dis (adoptNode test): Documents were |
121 |
|
made by different documents. |
122 |
|
|
123 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* XMLParser.dis: The |cfg:dtd-default-attributes| configuration |
126 |
|
parameter is changed to |cfg:dtd-default-attribute|. |
127 |
|
|
128 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* TreeCore.dis: The |DOMMain:raiseException| elements |
131 |
|
are replaced by |disPerl:EXCEPTION|s. |
132 |
|
|
133 |
|
2006-04-03 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* DOMMain.dis (GetPropNode, CheckReadOnly): Removed. |
136 |
|
|
137 |
|
* Node.dis (cfg:dtd-default-attribute): The configuration |
138 |
|
parameter |cfg:dtd-default-attributes| is renamed |
139 |
|
as |cfg:dtd-default-attribute|. |
140 |
|
(Roles): Definitions are changed so that classes |
141 |
|
that implement those classes MUST implement the |Node| |
142 |
|
and its subinterfaces. |
143 |
|
(cfg:dtd-attribute-type): New configuration parameter. |
144 |
|
|
145 |
|
* Document.dis (adoptNode): Don't throw exception |
146 |
|
if |strictErrorChecking| is |false|. |
147 |
|
|
148 |
|
* Element.dis (setAttribute, setAttributeNS): Don't |
149 |
|
set [attribute type] if the |cfg:dtd-attribute-type| |
150 |
|
configuration parameter is set to |false|. |
151 |
|
(removeAttribute, removeAttributeNS, removeAttributeNode): Don't |
152 |
|
regenerate default attribute nodes if the |cfg:dtd-default-attribute| |
153 |
|
configuration parameter is set to |false|. |
154 |
|
|
155 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* TreeStore.dis: New module. |
158 |
|
|
159 |
|
* Makefile: |TreeStore.dis| is added. |
160 |
|
|
161 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* XMLParser.dis: Updated so that it can be used |
164 |
|
with |TreeCore.pm|, |Document.pm|, |Element.pm|, |
165 |
|
and |XML.pm|. Set the read-only flag to |
166 |
|
the |DocumentType|, |Entity|, and |EntityReference| noes. |
167 |
|
|
168 |
|
* Node.dis (textContent): It did not handle descendant |
169 |
|
element and entity reference nodes. |
170 |
|
|
171 |
|
* Element.dis, XML.dis (manakaiBaseURI.get): Its |
172 |
|
definition has been changed to return only explicit |
173 |
|
base URI specification. |
174 |
|
|
175 |
|
* DOMLS.dis (LSInput, LSOutput): They no longer |
176 |
|
inherits the |ManakaiDOM:ManakaiDOMObject| class. |
177 |
|
|
178 |
|
* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed. |
179 |
|
|
180 |
|
* Tree.pm, DOMXML.pm: Removed. |
181 |
|
|
182 |
|
* TreeCore.pm, Document.pm, Element.pm: Added |
183 |
|
to the CVS repository since they are necessary to |
184 |
|
build the dis library. |
185 |
|
|
186 |
|
* Makefile: Sync'ed to new modules disposition. |
187 |
|
|
188 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are |
191 |
|
removed. For |Element.pm| and |Document.pm| are added. |
192 |
|
|
193 |
|
* Document.dis, Element.dis: New module split from |TreeCore.dis|. |
194 |
|
|
195 |
|
* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed. |
196 |
|
|
197 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* DOMFeature.dis (getImplementation, getImplementationList): Support |
200 |
|
for new class information variables. |
201 |
|
(DOMLS:Generic): This old feature name is removed. |
202 |
|
|
203 |
|
* GenericLS.dis (createGLSParser, createGLSSerializer): Support |
204 |
|
for new class information variables. |
205 |
|
|
206 |
|
* TreeCore.dis (manakaiExpandedURI): New attribute. |
207 |
|
(Document, Element.___create_node_ref): New method |
208 |
|
implementations. |
209 |
|
|
210 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode): |
213 |
|
Reimplemented. |
214 |
|
(isId): Setter is added. |
215 |
|
(Element.normalize): Definition copied from the |MDOM:Tree| |
216 |
|
module. |
217 |
|
|
218 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* Makefile (clean-db): New rule. |
221 |
|
|
222 |
|
* TreeCore.dis (setUserData): Schedule to invoke |
223 |
|
the user data handler when the node is removed |
224 |
|
from the memory. |
225 |
|
(setAttribute, setAttributeNS): Set the [attribute type] |
226 |
|
if DTD attribute definition is available. |
227 |
|
(CharacterData members): Definitions copied from |
228 |
|
the |MDOM:Tree| module. |
229 |
|
|
230 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* DOMCore.dis (DOMStringList.==): New overloaded operator. |
233 |
|
|
234 |
|
* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The |
235 |
|
class did not implement the |GetFeature| interface. |
236 |
|
(hasFeature): The |+| prefix was not taken into account. |
237 |
|
|
238 |
|
* TreeCore.dis (Node): The class now inherits |
239 |
|
the |ManakaiHasFeatureByGetFeature| class. It now |
240 |
|
implements the |f:GetFeature| and |ecore:MUErrorTarget| |
241 |
|
interfaces. |
242 |
|
(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option |
243 |
|
is supported. |
244 |
|
(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented. |
245 |
|
(manakaiParentElement): New attribute. |
246 |
|
|
247 |
|
* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype| |
248 |
|
is removed. |
249 |
|
(lookupPrefix): Old method implementation is removed. |
250 |
|
|
251 |
|
* XML.dis (CDATASection): The |mg:NodeRefRole| was |
252 |
|
missing because of the |DISCore:stopISARecursive| property. |
253 |
|
|
254 |
|
* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis: |
255 |
|
They now pass all tests included in those modules! |
256 |
|
|
257 |
|
2006-03-30 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* DOMCore.dis (Require): A reference to the |MURI:Generic| |
260 |
|
module is added. |
261 |
|
(ManakaiDOMStringList.DESTROY): Removed (no longer necessary). |
262 |
|
(ManakaiDOMImplementation): It now inherits |
263 |
|
the |urigen:ManakaiURIImplementation| class and |
264 |
|
implements the |ecore:MUErrorTarget| interface. It no |
265 |
|
longer inherits the |ManakaiDOM:ManakaiDOMObject| class. |
266 |
|
(ManakaiDOMImplementation.___report_error): New method. |
267 |
|
|
268 |
|
* DOMFeature.dis (Require): It now references the |Util:Grove| |
269 |
|
module instead of |Util:ManakaiNode| module. |
270 |
|
(DOMMetaImpl:ManakaiDOMImplementationRole): Removed. |
271 |
|
(f:ManakaiMinimumImplementationCompatible): New role. |
272 |
|
(ManakaiMinimumImplementation): Now it is built |
273 |
|
on the new |Util:Grove| module rather than the |Util:ManakaiNode| |
274 |
|
module. |
275 |
|
(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module. |
276 |
|
(c:implementation): Removed. |
277 |
|
(f:implementation, f:revImplementation): New properties. |
278 |
|
|
279 |
|
* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed. |
280 |
|
|
281 |
|
* Tree.dis (cfg:clone-entity-reference-subtree, |
282 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
283 |
|
cfg:strict-document-children): Removed (moved |
284 |
|
to the |MDOM:TreeCore| module). |
285 |
|
|
286 |
|
* TreeCore.dis (Require): The reference to the |MURI:Generic| |
287 |
|
module is removed. |
288 |
|
(ManakaiDOMImplementationTC): Some members are removed |
289 |
|
since they are incorporated to the |c:ManakaiDOMImplementation| |
290 |
|
or the |f:ManakaiMinimumImplementation|. |
291 |
|
(tc:nodeRefClass): Removed (moved to the |Util:Grove| module). |
292 |
|
(replaceChildImpl1): A typo on the removing the parent node |
293 |
|
of the old child node is fixed. |
294 |
|
(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature| |
295 |
|
module). |
296 |
|
(tc:implementation, tc:revImplementation): Removed (moved |
297 |
|
to the |MDOM:DOMFeature| module). |
298 |
|
(Document.appendChild, insertBefore, replaceChild): Sets |
299 |
|
the |ownerDocument| attribute of the |tx:DocumentType| nodes. |
300 |
|
(Attr.prefix, Element.prefix): Don't raise "uninitialized" |
301 |
|
when the new value is |null|. |
302 |
|
(Attr.___create_node_ref): Attribute name and |
303 |
|
owner element type specific classes are supported (it |
304 |
|
was partially implemented but was incorrect). |
305 |
|
(ManakaiDOMGetElementsNodeList.item): Don't return |
306 |
|
a node if the |index| is negative. |
307 |
|
(setNamedItem): Various typos are fixed. |
308 |
|
(removeNamedItem): The node was not removed orz |
309 |
|
(cfg:clone-entity-reference-subtree, |
310 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
311 |
|
cfg:strict-document-children): Definitions are moved |
312 |
|
from the |MDOM:Tree| module. Note that the tests for default |
313 |
|
attributes still fail. |
314 |
|
(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module. |
315 |
|
(Attr): Role name was incorrect. |
316 |
|
|
317 |
|
* XDoctype.dis (setDefinitionNode): Return value was |
318 |
|
not set. |
319 |
|
(AttributeDefinition): Role name was incorrect. |
320 |
|
|
321 |
|
* XML.dis (Require): A reference to the |DISlib:DISMarkup| |
322 |
|
module is added. |
323 |
|
(Notation.appendChild, insertBefore, replaceChild): New method |
324 |
|
implementations. |
325 |
|
(Entity.appendChild, insertBefore, replaceChild): New method |
326 |
|
implementations. |
327 |
|
(EntityReference.appendChild, insertBefore, replaceChild): Now |
328 |
|
they are defined as copies of ones in the |Entity| class. |
329 |
|
(XMLBaseAttribute, XMLIdAttribute): Now they are |
330 |
|
namespace unaware attributes. |
331 |
|
(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes. |
332 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References |
333 |
|
to namespace aware attributes are added. |
334 |
|
|
335 |
|
2006-03-29 Wakaba <wakaba@suika.fam.cx> |
336 |
|
|
337 |
|
* DOMCore.dis: Namespace prefixes are changed to new ones. |
338 |
|
|
339 |
|
* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but |
340 |
|
untested). |
341 |
|
(___report_error): Reimplemented (untested). |
342 |
|
(manakaiSetReadOnly): New method. |
343 |
|
(Attr.___create_node_ref): New method (untested). |
344 |
|
(Document.getFeature): |require|s the |MDOM:XML| Perl module. |
345 |
|
(createEntityReference, cloneNode): Support for |
346 |
|
the |cfg:entity-reference-read-only| configuration |
347 |
|
parameter is removed; newly created entity references |
348 |
|
are always read-only and use the |manakaiSetReadOnly| method |
349 |
|
if desired. |
350 |
|
(Element.manakaiBaseURI): Reimplemented (untested). |
351 |
|
|
352 |
|
* XDoctype.dis (createGeneralEntity, createNotation): |require|s |
353 |
|
the |MDOM:XML| Perl module. |
354 |
|
(DocumentTypeDefinition.___create_node_stem): Sets |
355 |
|
the |tc:implementation| internal property if its value |
356 |
|
is provided. The |infoset:content| internal property name |
357 |
|
was incorrect. |
358 |
|
(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on |
359 |
|
read-only |NodeList| and |DOMStringList| are added |
360 |
|
for clarification. |
361 |
|
|
362 |
|
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
365 |
|
module is added. |
366 |
|
(DOMStringList): Reimplemented for new |d:AttributeDefinition| |
367 |
|
implementation (untested). |
368 |
|
|
369 |
|
* TreeCore.dis (baseURI): Reimplemented (untested). |
370 |
|
(Roles): Definitions added. |
371 |
|
|
372 |
|
* XDoctype.dis (Require): References to the |MDOM:TreeCore| |
373 |
|
and |MDOM:XML| modules are added. Reference to the |MDOM:Tree| |
374 |
|
module is removed. |
375 |
|
(DocumentXDoctype): Reimplemented (untested). |
376 |
|
(DocumentTypeDefinition, DocumentTypeDeclaration): |
377 |
|
Reimlemented (untested). |
378 |
|
(ElementTypeDefinition, AttributeDefinition): Reimplemented (untested). |
379 |
|
|
380 |
|
* XML.dis (FeatureDef): New features (definitions copied |
381 |
|
from the |MDOM:DOMXML| module). |
382 |
|
(DocumentType): New interface (definition copied from |
383 |
|
the |MDOM:DOMXML| module). |
384 |
|
(CDATASection, Notation, Entity, EntityReference, ProcessingInstruction): |
385 |
|
Reimplemented (untested). |
386 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested). |
387 |
|
|
388 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
389 |
|
|
390 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
391 |
|
|
392 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
393 |
|
|
394 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
395 |
|
(Text, DocumentFragment, Comment): Most members are |
396 |
|
reimplemented (untested). |
397 |
|
|
398 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
399 |
|
|
400 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
401 |
|
removed to sync with DOM Level 3 Core specification. |
402 |
|
|
403 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
404 |
|
(GetElementsNodeList): Reimplemented (untested). |
405 |
|
|
406 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
409 |
|
parameter must also affect on |manakaiAppendText| |
410 |
|
and |textContent| on |Document| nodes. |
411 |
|
|
412 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
413 |
|
parameter changes the class to |bless|. |
414 |
|
(Node): Most methods are reimplemented. (Untested) |
415 |
|
(CharacterData, Attr): Most methods and attributes are |
416 |
|
reimplemented. (Untested) |
417 |
|
|
418 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
419 |
|
reimplemented (untested). |
420 |
|
|
421 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
422 |
|
|
423 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
424 |
|
(untested). |
425 |
|
|
426 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
427 |
|
|
428 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
429 |
|
a qualified name. |
430 |
|
|
431 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
432 |
|
the prefix if it is an empty string. (Note that |
433 |
|
it is defined as implementation dependent in |
434 |
|
DOM Level 3 Core specification). |
435 |
|
|
436 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
437 |
|
module. |
438 |
|
(Node): Attributes are reimplemented (untested). |
439 |
|
|
440 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
441 |
|
module. |
442 |
|
(Node): Attributes are reimplemented (untested). |
443 |
|
(Entity, Notation): New interfaces. |
444 |
|
|
445 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
446 |
|
|
447 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
448 |
|
|
449 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
450 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
451 |
|
replaceChild, removeChild, createDocumentFragment, |
452 |
|
createEntityReference, createProcessingInstruction, |
453 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
454 |
|
(NodeList, DocumentFragment): New interfaces. |
455 |
|
|
456 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
457 |
|
|
458 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
459 |
|
|
460 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
461 |
|
(createAttributeNS, createTextNode, createComment, |
462 |
|
createCDATASection): New methods. |
463 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
464 |
|
|
465 |
|
* Makefile: |XML.dis| is added. |
466 |
|
|
467 |
|
* XML.dis: New module. |
468 |
|
|
469 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
470 |
|
|
471 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
472 |
|
|
473 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
474 |
|
|
475 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
476 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
477 |
|
(Element): New interface. |
478 |
|
(createElementNS): New method. |
479 |
|
(strictErrorChecking): New. |
480 |
|
|
481 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
482 |
|
|
483 |
|
* Makefile: |TreeCore.dis| is added. |
484 |
|
|
485 |
|
* TreeCore.dis: New module. |
486 |
|
|
487 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
488 |
|
|
489 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
490 |
|
parameter. |
491 |
|
|
492 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
493 |
|
|
494 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
495 |
|
data types added to configuration parameters. |
496 |
|
|
497 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
498 |
|
|
499 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
500 |
|
a |DISSource:ResourceProperty|. |
501 |
|
(c:anyDOMConfigurationParameter): New property. |
502 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
503 |
|
the |c:anyDOMConfigurationParameter| property. |
504 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
505 |
|
|
506 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
507 |
|
|
508 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
509 |
|
|
510 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
511 |
|
are removed. |
512 |
|
|
513 |
|
* GenericLS.pm: Added to the CVS repository since |
514 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
515 |
|
|
516 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
517 |
|
|
518 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
519 |
|
method. |
520 |
|
|
521 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
522 |
|
|
523 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
524 |
|
|
525 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
526 |
|
|
527 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
528 |
|
implementations are added. |
529 |
|
|
530 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
531 |
|
implementations are added. |
532 |
|
|
533 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
534 |
|
implementations are added. |
535 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
536 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
537 |
|
(cfg:strict-document-children): New configuration parameter. |
538 |
|
|
539 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
540 |
|
|
541 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
542 |
|
|
543 |
|
* Tree.dis (replaceChild): Method implementations are added. |
544 |
|
|
545 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
546 |
|
|
547 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
548 |
|
|
549 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
550 |
|
definitions. |
551 |
|
|
552 |
|
* XDoctype.dis (insertBefore): New method implementation. |
553 |
|
|
554 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
555 |
|
|
556 |
|
* DOMXML.dis (insertBefore): Method implementations |
557 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
558 |
|
|
559 |
|
* Tree.dis (insertBefore): Method implementation |
560 |
|
for |CharacterData| nodes is added. |
561 |
|
|
562 |
|
* XDoctype.dis (insertBefore): Method implementation |
563 |
|
for |ElementTypeDefinition| nodes is added. |
564 |
|
|
565 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* XDoctype.dis (appendChild): New method implementation. |
568 |
|
|
569 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
570 |
|
|
571 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
572 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
573 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
574 |
|
|
575 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
576 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
577 |
|
Notation.appendChild): New method implementation. |
578 |
|
|
579 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
580 |
|
|
581 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
582 |
|
|
583 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
584 |
|
|
585 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
586 |
|
|
587 |
|
* Tree.dis (createAttribute, createAttributeNS, |
588 |
|
setAttribute, setAttributeNS): They now supports |
589 |
|
the |cfg:xml-id| configuration parameter. |
590 |
|
(cfg:xml-id): New configuration parameter. |
591 |
|
|
592 |
|
* XDoctype.dis (createAttributeDefinition): It now |
593 |
|
supports the |cfg:xml-id| configuration parameter. |
594 |
|
|
595 |
|
* XMLParser.dis (parse): It now supports |
596 |
|
the |cfg:xml-id| configuration parameter. |
597 |
|
|
598 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
599 |
|
|
600 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
601 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
602 |
|
document created. |
603 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
604 |
|
property of the created node. |
605 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
606 |
|
of the created node. |
607 |
|
(ls-input-to-input-file.default): Sets the resolved |
608 |
|
system identifier to the |documentURI| attribute if available. |
609 |
|
Sets the |baseURI| attribute if available. |
610 |
|
|
611 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
612 |
|
|
613 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
614 |
|
(Node.baseURI): New attribute implementations. |
615 |
|
(declarationBaseURI): Setter is added. |
616 |
|
(manakaiDeclarationBaseURI): New attribute. |
617 |
|
|
618 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
619 |
|
module is added. |
620 |
|
(Node.baseURI): The implementation is revised. |
621 |
|
(getNodeReference): Attribute node classes specialized |
622 |
|
to attribute names are supported. |
623 |
|
(contentBaseURI, htmlBaseURI): Removed. |
624 |
|
(manakaiEntityBaseURI): New attribute. |
625 |
|
(ManakaiDOMImplementationDocument): It now inherits |
626 |
|
the |urigen:URIImplementation| class. |
627 |
|
|
628 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
629 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
630 |
|
one. |
631 |
|
|
632 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
633 |
|
module is added. |
634 |
|
(DocumentType.implementation): New attribute. |
635 |
|
(Node.baseURI): Implementations are added. |
636 |
|
(manakaiDeclarationBaseURI): New attributes. |
637 |
|
(manakaiEntityBaseURI): New attributes. |
638 |
|
(manakaiEntityURI): New attribute. |
639 |
|
(manakaiExternal): New attribute. |
640 |
|
(manakaiBaseURI): New attribute. |
641 |
|
(ManakaiDOMXMLBaseAttr): New class. |
642 |
|
|
643 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
644 |
|
|
645 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
646 |
|
module was missing. |
647 |
|
|
648 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
649 |
|
|
650 |
|
* Makefile (distclean): New rule. |
651 |
|
|
652 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
653 |
|
|
654 |
|
* DOMLS.dis: Removed from the CVS repository, since |
655 |
|
it has been no longer required to make the |daf| system |
656 |
|
itself. |
657 |
|
|
658 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
659 |
|
|
660 |
|
* Makefile: Revised for new |daf| database format. |
661 |
|
|
662 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
663 |
|
|
664 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
665 |
|
module is added. |
666 |
|
|
667 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
668 |
|
|
669 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
670 |
|
by mistake. |
671 |
|
|
672 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
673 |
|
|
674 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
675 |
|
feature. |
676 |
|
|
677 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
678 |
|
|
679 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
680 |
|
(DOMImplementationLS.createLSParser): Implemented. |
681 |
|
(DOMImplementationLS.createLSInput): Revised. |
682 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
683 |
|
|
684 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
685 |
|
|
686 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
687 |
|
|
688 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
689 |
|
is introduced. |
690 |
|
(async, busy): Implemented. |
691 |
|
(parseString): Removed. |
692 |
|
(parse, parseURI): Implemented. |
693 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
694 |
|
(shiftChar): Gets character from current file handle |
695 |
|
rather than replacement text. Don't normalize |
696 |
|
line break characters for internal entities. Don't |
697 |
|
throw |xp:wf-legal-literal-character| error |
698 |
|
for |RestrictedChar| appearing in internal entities. |
699 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
700 |
|
(_EntityDeclaration): Copy document URI and base URI |
701 |
|
to the entity's |$decl| object. |
702 |
|
(ParseError): New code fragment. |
703 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
704 |
|
text. |
705 |
|
(xp-error-lines): Don't appends text if no replacement |
706 |
|
text is available. |
707 |
|
(error-handler): New configuration parameter application resource. |
708 |
|
(ManakaiDOMLSInputToInputFile): New class. |
709 |
|
(ManakaiDOMInputFile): New class. |
710 |
|
|
711 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
712 |
|
|
713 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
714 |
|
|
715 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
716 |
|
|
717 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
718 |
|
(parseString): Don't output |Document| warnings |
719 |
|
during tree construction to standard error output. |
720 |
|
|
721 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
722 |
|
|
723 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
724 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
725 |
|
error detection is implemented. Generates |Notation| nodes |
726 |
|
from notation declarations. |
727 |
|
(checkNCName, checkQName): New code fragments. |
728 |
|
|
729 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
730 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
731 |
|
is |false|. |
732 |
|
|
733 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
734 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
735 |
|
|
736 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
737 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
738 |
|
(Attr.specified): Setter added. |
739 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
740 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
741 |
|
if |Document.strictErrorChecking| is |false|. |
742 |
|
|
743 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
744 |
|
|
745 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
746 |
|
attribute of the |Document| node. Don't process entity |
747 |
|
and attribute definition list declarations after |
748 |
|
unread parameter entity reference. Warns if an attribute definition is |
749 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
750 |
|
flags whether predefined entities are declared or not. |
751 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
752 |
|
|
753 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
754 |
|
|
755 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
756 |
|
if a predefined entity declaration references an external entity. |
757 |
|
Issues |xp:error-malformed-predefined-entity| error if |
758 |
|
a predefined entity declaration defines different thing than |
759 |
|
one as in XML specification. |
760 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
761 |
|
more than one entity declarations for an entity is found. |
762 |
|
(WFErrDef): Now all well-formedness errors are marked |
763 |
|
as |SEVERITY_FATAL_ERROR|. |
764 |
|
|
765 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
766 |
|
predefined entity declarations. |
767 |
|
(DocumentXDoctype.createNotation): New method. |
768 |
|
(DocumentTypeDefinition.notations): New attribute. |
769 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
770 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
771 |
|
(newNotationForTest): New code fragment. |
772 |
|
|
773 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
774 |
|
(c:ManakaiDOMNotationMap): New class. |
775 |
|
(c:ManakaiDOMNotationMapArray): New class. |
776 |
|
(Document.allDeclarationsProcessed): New attribute. |
777 |
|
|
778 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
779 |
|
(Notation): Revised. |
780 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
781 |
|
|
782 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
783 |
|
|
784 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
785 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
786 |
|
if a parameter entity declaration contains |NDATA| keyword. |
787 |
|
(setEmptyEntityState): Set |name| attribute. |
788 |
|
|
789 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
790 |
|
loop even if entity replacement tree contains recursive |
791 |
|
reference directly or indirectly. |
792 |
|
|
793 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
794 |
|
|
795 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
796 |
|
WFC error is implemented. |
797 |
|
|
798 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
799 |
|
|
800 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
801 |
|
configuration parameter |true| during tree construction |
802 |
|
to ensure default attribute value is cloned as is |
803 |
|
including entity reference subtree. |
804 |
|
|
805 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
806 |
|
parameter. |
807 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
808 |
|
configuration parameter support is added. |
809 |
|
|
810 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
811 |
|
|
812 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
813 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
814 |
|
content before constructing |Entity| replacement tree. |
815 |
|
The |xp:wf-entity-declared| well-formedness constraint |
816 |
|
for entity references in attribute value literal is implemented. |
817 |
|
|
818 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
819 |
|
|
820 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
821 |
|
constaraint for entity references that appear in |
822 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
823 |
|
attribute. |
824 |
|
(getEmptyEntityState): New code. |
825 |
|
|
826 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
827 |
|
definition is removed. |
828 |
|
|
829 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
830 |
|
(EntityReference.isExpanded): Setter is added. |
831 |
|
|
832 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
833 |
|
|
834 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
835 |
|
and |xp:wf-no-external-entity-references| well-formedness |
836 |
|
constraints are implemented. |
837 |
|
|
838 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
839 |
|
|
840 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
841 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
842 |
|
errors (including well-formedness constraint errors) are |
843 |
|
traped by the error handler. |
844 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
845 |
|
attribute of the node. Reports an error if |publidLiteral| |
846 |
|
contains a non-|pubidChar|. |
847 |
|
|
848 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
849 |
|
version |3.0|). |
850 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
851 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
852 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
853 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
854 |
|
interface (except unimplemented |notations| and |internalSubset| |
855 |
|
attributes). |
856 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
857 |
|
for compatibility with |x:DocumentType| interface. |
858 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
859 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
860 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
861 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
862 |
|
(DocumentTypeDeclaration): New interface. |
863 |
|
|
864 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
865 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
866 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
867 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
868 |
|
instead of obsolete |DocumentType.newObject|. |
869 |
|
|
870 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
871 |
|
DocumentType.publicId, DocumentType.systemId, |
872 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
873 |
|
as clones of similar attributes or methods |
874 |
|
in |MDOM:XDoctype| module. |
875 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
876 |
|
instead). |
877 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
878 |
|
is used). |
879 |
|
|
880 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
881 |
|
|
882 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
883 |
|
fatal error. |
884 |
|
|
885 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
886 |
|
|
887 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
888 |
|
defined as a |?default-token|. |
889 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
890 |
|
comment declarations, cdata sections, and |MSE| in |content| |
891 |
|
added. |
892 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
893 |
|
(get-location-from-token): |$token->{location_d}| |
894 |
|
for |?default-token| column counting support added. |
895 |
|
|
896 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
897 |
|
|
898 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
899 |
|
|
900 |
|
* Tree.dis (createProcessingInstruction): Don't |
901 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
902 |
|
is |false|. |
903 |
|
|
904 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
905 |
|
It enables improved error position report. |
906 |
|
(XDO): It now includes |S+| following target name |xml| as |
907 |
|
part of the token. (PI with target starting with |xml| |
908 |
|
was unable to be placed at the beginning of the document entity.) |
909 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
910 |
|
a processing instruction node with |#INVALID| node name |
911 |
|
if target name is not given and recovered from the error. |
912 |
|
(S): Variable |$s| added. |
913 |
|
(XMLTests): Tests for XML declarations and processing |
914 |
|
instructions are added. Prints error type name if unexpected |
915 |
|
error with severity of error or fatal error has been reported. |
916 |
|
Catch unexpected exceptions thrown in parser (different |
917 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
918 |
|
for the ease of testing. |
919 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
920 |
|
stack into acount. |
921 |
|
|
922 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
923 |
|
|
924 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
925 |
|
is fixed. Although the DOM Level 3 Core specification |
926 |
|
is unclear about whether the first number is zero or one, |
927 |
|
in most programs the first line is "one" and |
928 |
|
the first column is "one", manakai follows the practice. |
929 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
930 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
931 |
|
tests (successful cases) added. |
932 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
933 |
|
properties. |
934 |
|
|
935 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
936 |
|
|
937 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
938 |
|
|
939 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
940 |
|
|
941 |
|
* DOMCore.dis (c:erred): New property. |
942 |
|
(c:DOMErrorType): It should have been a subset |
943 |
|
of |ecore:AnyErrorCode|. |
944 |
|
|
945 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
946 |
|
|
947 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
948 |
|
|
949 |
|
* XDoctype.dis (d:Feature): New canonical feature |
950 |
|
name |fe:XDoctype| is added. |
951 |
|
|
952 |
|
* XMLParser.dis: Predefined general entity references |
953 |
|
are implemented. Creates |Entity| nodes from general entities |
954 |
|
declared in internal subset. |Entity| nodes created from internal |
955 |
|
general parsed entities now have replacement tree. |
956 |
|
Sets |cfg:entity-reference-read-only| flag off during |
957 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
958 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
959 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
960 |
|
introduced. General entity references in attribute value literal |
961 |
|
are supported. |
962 |
|
|
963 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
964 |
|
|
965 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
966 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
967 |
|
(createEntityReference): Set |c:read-only| flag of |
968 |
|
the created entity reference, too. |
969 |
|
|
970 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
971 |
|
|
972 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
973 |
|
from |DOMFeature| module instead. Use |idl:Object| |
974 |
|
instead of |DOMMain:DOMObject| as well. |
975 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
976 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
977 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
978 |
|
respectively. |
979 |
|
|
980 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
981 |
|
It will be reimplemented using |DocumentTypeDefinition| |
982 |
|
class from |XDoctype| module. |
983 |
|
|
984 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
985 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
986 |
|
SimpleLS.dis: Cleaned up unused definitions. |
987 |
|
|
988 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
989 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
990 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
991 |
|
|
992 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
993 |
|
|
994 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
995 |
|
(feature.dae): Include |GenericLS| module. |
996 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
997 |
|
(ls.dae): Include |DOMLS| module. |
998 |
|
|
999 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
1000 |
|
|
1001 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
1002 |
|
attribute are added. |
1003 |
|
|
1004 |
|
* XDoctype.dis (createGeneralEntity): New method. |
1005 |
|
(generalEntities): New attribute. |
1006 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
1007 |
|
|
1008 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
1009 |
|
(ManakaiDOMEntityMap): New class. |
1010 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
1011 |
|
(createEntityReference): If there is a corresponding |Entity| |
1012 |
|
node in the document type definition, then copies its |
1013 |
|
subtree. |
1014 |
|
|
1015 |
|
* DOMXML.dis (Entity): Documentation updated. |
1016 |
|
(publicId, systemId, notationName, xmlEncoding, |
1017 |
|
xmlVersion): These attributes are now settable |
1018 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
1019 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
1020 |
|
mode. |
1021 |
|
(ownerDocumentTypeDefinition): New attribute |
1022 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
1023 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
1024 |
|
|
1025 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
1026 |
|
|
1027 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1028 |
|
|
1029 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1030 |
|
|
1031 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1032 |
|
(ManakaiDOMAttributes): Removed. |
1033 |
|
(ManakaiDOMAttrMap): New class. |
1034 |
|
(ManakaiDOMAttrMapArray): New class. |
1035 |
|
(namespaceURI): Bug to return a string representation |
1036 |
|
of a reference to the namespace URI string is fixed. |
1037 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
1038 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
1039 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
1040 |
|
if there is no attribute node. |
1041 |
|
(createElement, createElementNS): DTD default attributes are supported. |
1042 |
|
(setAttributeNode): Reimplemented. |
1043 |
|
|
1044 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
1045 |
|
|
1046 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
1047 |
|
|
1048 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
1049 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
1050 |
|
(schemaTypeInfo): Implemented for XML DTD. |
1051 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
1052 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
1053 |
|
of the newly created |Attr| node (if any) when attribute |
1054 |
|
definition is available. |
1055 |
|
(doctype, documentElement): Reimplemented with tests. |
1056 |
|
|
1057 |
|
* XMLParser.dis: Sets [attribute type] information |
1058 |
|
to created |Attr| nodes. Normalize namespace URIs |
1059 |
|
when such information are available (unlikely but legal). |
1060 |
|
(_HexadecimalCharacterReference): Number to character |
1061 |
|
convertion bug fixed. |
1062 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
1063 |
|
configuration parameter to XML DTD URI. |
1064 |
|
|
1065 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
1066 |
|
|
1067 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
1068 |
|
attribute definition nodes. |
1069 |
|
|
1070 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
1071 |
|
and another |UNKNOWN_ATTR| constant is introduced |
1072 |
|
for consistency with XML Infoset. |
1073 |
|
|
1074 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
1075 |
|
|
1076 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
1077 |
|
|
1078 |
|
* XDoctype.dis: A bug in test code fixed. |
1079 |
|
|
1080 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
1081 |
|
definition named node maps now can be dereferenced |
1082 |
|
as if they are array or hash references. |
1083 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
1084 |
|
or attribute definitions. |
1085 |
|
(length): Tests added. |
1086 |
|
(NamedNodeMapArray): New classes. |
1087 |
|
|
1088 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
1089 |
|
|
1090 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
1091 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
1092 |
|
if the new node is already used for another definition. |
1093 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
1094 |
|
property name was incorrect. |
1095 |
|
(elementTypes, attributeDefinitions): Checks to |
1096 |
|
ensure the collection is empty added. |
1097 |
|
|
1098 |
|
* Tree.dis: Property name typos fixed. |
1099 |
|
(setNamedItem, setAttributeNode): Don't return any node |
1100 |
|
if it replace itself. |
1101 |
|
(c:userDeterminedId): Missing definition added. |
1102 |
|
|
1103 |
|
* DOMXML.dis (Notation): Missing property specification |
1104 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
1105 |
|
|
1106 |
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
1107 |
|
|
1108 |
* DOMCore.dis (Test): Missing argument added. |
* DOMCore.dis (Test): Missing argument added. |