1 |
|
2006-05-04 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* SimpleLS.dis: Namespace bugs are fixed. |
4 |
|
|
5 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* .cvsignore: Updated. |
8 |
|
|
9 |
|
* Traversal.dis: Unused declarations are removed. |
10 |
|
|
11 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* CharacterData.dis (Require): A reference to |
14 |
|
the |MDOM:Traversal| module is added. |
15 |
|
(wholeText): Implemented. |
16 |
|
|
17 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Makefile: |Traversal.dis| is added. |
20 |
|
|
21 |
|
* Traversal.dis: New module. |
22 |
|
|
23 |
|
* TreeCore.dis (___report_error): Return value was |
24 |
|
not propagated. |
25 |
|
|
26 |
|
2006-04-29 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* Element.dis (removeAttributeNS): A runtime error |
29 |
|
was occurred if there was no specified attribute node. |
30 |
|
|
31 |
|
* TreeCore.dis (manakaiLanguage): New attribute. |
32 |
|
|
33 |
|
2006-04-28 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly): |
36 |
|
New attributes. |
37 |
|
|
38 |
|
(StaticNodeList): New interface. |
39 |
|
|
40 |
|
2006-04-24 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* DOMCore.dis (c:SET_TO_NULL_ERR): New error code. |
43 |
|
|
44 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* SimpleLS.dis: Reimplemented. |
47 |
|
|
48 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now |
51 |
|
a qualified name. |
52 |
|
(tc:EXTERNAL_NODE_COMPARISON_ERR): New error type. |
53 |
|
|
54 |
|
* TreeCore.dis (compareDocumentPosition): Implemented. |
55 |
|
(normalize): Implemented. |
56 |
|
(STORESIZE, CLEAR): Were not implemented for |EmptyNodeList| |
57 |
|
class. |
58 |
|
|
59 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed. |
62 |
|
|
63 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* CharacterData.dis (length, insertData, substringData, |
66 |
|
appendData, deleteData, replaceData, splitText): Reimplemented. |
67 |
|
|
68 |
|
* DOMCore.dis (NEGATIVE_LENGTH_ERR): New error. |
69 |
|
(c:index): The definition was missing. |
70 |
|
(c:length): New property. |
71 |
|
|
72 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* XMLParser.dis (close): Invoke |close| method |
75 |
|
rather than |close| function. |
76 |
|
|
77 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* CharacterData.dis: New module split from |TreeCore.dis|. |
80 |
|
|
81 |
|
* CharacterData.pm: Added to the CVS repository. |
82 |
|
|
83 |
|
* TreeCore.dis: The |CharacterData|, |Text|, and |Comment| |
84 |
|
interfaces are removed. |
85 |
|
(Require): A reference to the |MDOM:CharacterData| module |
86 |
|
is added. |
87 |
|
|
88 |
|
* DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed. |
89 |
|
|
90 |
|
* DOMCore.dis (StringOutOfBoundsException): New error. |
91 |
|
|
92 |
|
* Makefile: |CharacterData.pm| is added. |
93 |
|
|
94 |
|
2006-04-09 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* XMLParser.dis (Require): Requires the |MCharset:Encode| |
97 |
|
module. |
98 |
|
(parse): Set the |inputEncoding| attribute of the generated document |
99 |
|
object. |
100 |
|
(resolveLSInput default implementation): The |byteStream| |
101 |
|
and |encoding| attributes of the |LSInput| interface |
102 |
|
are now supported. |
103 |
|
(resolveLSInput): Parameters |impl| and |parser| are added. |
104 |
|
(InputFile.inputEncoding): New attribute. |
105 |
|
|
106 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* Document.dis (adoptNode test): Documents were |
109 |
|
made by different documents. |
110 |
|
|
111 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* XMLParser.dis: The |cfg:dtd-default-attributes| configuration |
114 |
|
parameter is changed to |cfg:dtd-default-attribute|. |
115 |
|
|
116 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* TreeCore.dis: The |DOMMain:raiseException| elements |
119 |
|
are replaced by |disPerl:EXCEPTION|s. |
120 |
|
|
121 |
|
2006-04-03 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* DOMMain.dis (GetPropNode, CheckReadOnly): Removed. |
124 |
|
|
125 |
|
* Node.dis (cfg:dtd-default-attribute): The configuration |
126 |
|
parameter |cfg:dtd-default-attributes| is renamed |
127 |
|
as |cfg:dtd-default-attribute|. |
128 |
|
(Roles): Definitions are changed so that classes |
129 |
|
that implement those classes MUST implement the |Node| |
130 |
|
and its subinterfaces. |
131 |
|
(cfg:dtd-attribute-type): New configuration parameter. |
132 |
|
|
133 |
|
* Document.dis (adoptNode): Don't throw exception |
134 |
|
if |strictErrorChecking| is |false|. |
135 |
|
|
136 |
|
* Element.dis (setAttribute, setAttributeNS): Don't |
137 |
|
set [attribute type] if the |cfg:dtd-attribute-type| |
138 |
|
configuration parameter is set to |false|. |
139 |
|
(removeAttribute, removeAttributeNS, removeAttributeNode): Don't |
140 |
|
regenerate default attribute nodes if the |cfg:dtd-default-attribute| |
141 |
|
configuration parameter is set to |false|. |
142 |
|
|
143 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* TreeStore.dis: New module. |
146 |
|
|
147 |
|
* Makefile: |TreeStore.dis| is added. |
148 |
|
|
149 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* XMLParser.dis: Updated so that it can be used |
152 |
|
with |TreeCore.pm|, |Document.pm|, |Element.pm|, |
153 |
|
and |XML.pm|. Set the read-only flag to |
154 |
|
the |DocumentType|, |Entity|, and |EntityReference| noes. |
155 |
|
|
156 |
|
* Node.dis (textContent): It did not handle descendant |
157 |
|
element and entity reference nodes. |
158 |
|
|
159 |
|
* Element.dis, XML.dis (manakaiBaseURI.get): Its |
160 |
|
definition has been changed to return only explicit |
161 |
|
base URI specification. |
162 |
|
|
163 |
|
* DOMLS.dis (LSInput, LSOutput): They no longer |
164 |
|
inherits the |ManakaiDOM:ManakaiDOMObject| class. |
165 |
|
|
166 |
|
* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed. |
167 |
|
|
168 |
|
* Tree.pm, DOMXML.pm: Removed. |
169 |
|
|
170 |
|
* TreeCore.pm, Document.pm, Element.pm: Added |
171 |
|
to the CVS repository since they are necessary to |
172 |
|
build the dis library. |
173 |
|
|
174 |
|
* Makefile: Sync'ed to new modules disposition. |
175 |
|
|
176 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are |
179 |
|
removed. For |Element.pm| and |Document.pm| are added. |
180 |
|
|
181 |
|
* Document.dis, Element.dis: New module split from |TreeCore.dis|. |
182 |
|
|
183 |
|
* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed. |
184 |
|
|
185 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* DOMFeature.dis (getImplementation, getImplementationList): Support |
188 |
|
for new class information variables. |
189 |
|
(DOMLS:Generic): This old feature name is removed. |
190 |
|
|
191 |
|
* GenericLS.dis (createGLSParser, createGLSSerializer): Support |
192 |
|
for new class information variables. |
193 |
|
|
194 |
|
* TreeCore.dis (manakaiExpandedURI): New attribute. |
195 |
|
(Document, Element.___create_node_ref): New method |
196 |
|
implementations. |
197 |
|
|
198 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode): |
201 |
|
Reimplemented. |
202 |
|
(isId): Setter is added. |
203 |
|
(Element.normalize): Definition copied from the |MDOM:Tree| |
204 |
|
module. |
205 |
|
|
206 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* Makefile (clean-db): New rule. |
209 |
|
|
210 |
|
* TreeCore.dis (setUserData): Schedule to invoke |
211 |
|
the user data handler when the node is removed |
212 |
|
from the memory. |
213 |
|
(setAttribute, setAttributeNS): Set the [attribute type] |
214 |
|
if DTD attribute definition is available. |
215 |
|
(CharacterData members): Definitions copied from |
216 |
|
the |MDOM:Tree| module. |
217 |
|
|
218 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* DOMCore.dis (DOMStringList.==): New overloaded operator. |
221 |
|
|
222 |
|
* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The |
223 |
|
class did not implement the |GetFeature| interface. |
224 |
|
(hasFeature): The |+| prefix was not taken into account. |
225 |
|
|
226 |
|
* TreeCore.dis (Node): The class now inherits |
227 |
|
the |ManakaiHasFeatureByGetFeature| class. It now |
228 |
|
implements the |f:GetFeature| and |ecore:MUErrorTarget| |
229 |
|
interfaces. |
230 |
|
(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option |
231 |
|
is supported. |
232 |
|
(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented. |
233 |
|
(manakaiParentElement): New attribute. |
234 |
|
|
235 |
|
* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype| |
236 |
|
is removed. |
237 |
|
(lookupPrefix): Old method implementation is removed. |
238 |
|
|
239 |
|
* XML.dis (CDATASection): The |mg:NodeRefRole| was |
240 |
|
missing because of the |DISCore:stopISARecursive| property. |
241 |
|
|
242 |
|
* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis: |
243 |
|
They now pass all tests included in those modules! |
244 |
|
|
245 |
|
2006-03-30 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* DOMCore.dis (Require): A reference to the |MURI:Generic| |
248 |
|
module is added. |
249 |
|
(ManakaiDOMStringList.DESTROY): Removed (no longer necessary). |
250 |
|
(ManakaiDOMImplementation): It now inherits |
251 |
|
the |urigen:ManakaiURIImplementation| class and |
252 |
|
implements the |ecore:MUErrorTarget| interface. It no |
253 |
|
longer inherits the |ManakaiDOM:ManakaiDOMObject| class. |
254 |
|
(ManakaiDOMImplementation.___report_error): New method. |
255 |
|
|
256 |
|
* DOMFeature.dis (Require): It now references the |Util:Grove| |
257 |
|
module instead of |Util:ManakaiNode| module. |
258 |
|
(DOMMetaImpl:ManakaiDOMImplementationRole): Removed. |
259 |
|
(f:ManakaiMinimumImplementationCompatible): New role. |
260 |
|
(ManakaiMinimumImplementation): Now it is built |
261 |
|
on the new |Util:Grove| module rather than the |Util:ManakaiNode| |
262 |
|
module. |
263 |
|
(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module. |
264 |
|
(c:implementation): Removed. |
265 |
|
(f:implementation, f:revImplementation): New properties. |
266 |
|
|
267 |
|
* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed. |
268 |
|
|
269 |
|
* Tree.dis (cfg:clone-entity-reference-subtree, |
270 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
271 |
|
cfg:strict-document-children): Removed (moved |
272 |
|
to the |MDOM:TreeCore| module). |
273 |
|
|
274 |
|
* TreeCore.dis (Require): The reference to the |MURI:Generic| |
275 |
|
module is removed. |
276 |
|
(ManakaiDOMImplementationTC): Some members are removed |
277 |
|
since they are incorporated to the |c:ManakaiDOMImplementation| |
278 |
|
or the |f:ManakaiMinimumImplementation|. |
279 |
|
(tc:nodeRefClass): Removed (moved to the |Util:Grove| module). |
280 |
|
(replaceChildImpl1): A typo on the removing the parent node |
281 |
|
of the old child node is fixed. |
282 |
|
(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature| |
283 |
|
module). |
284 |
|
(tc:implementation, tc:revImplementation): Removed (moved |
285 |
|
to the |MDOM:DOMFeature| module). |
286 |
|
(Document.appendChild, insertBefore, replaceChild): Sets |
287 |
|
the |ownerDocument| attribute of the |tx:DocumentType| nodes. |
288 |
|
(Attr.prefix, Element.prefix): Don't raise "uninitialized" |
289 |
|
when the new value is |null|. |
290 |
|
(Attr.___create_node_ref): Attribute name and |
291 |
|
owner element type specific classes are supported (it |
292 |
|
was partially implemented but was incorrect). |
293 |
|
(ManakaiDOMGetElementsNodeList.item): Don't return |
294 |
|
a node if the |index| is negative. |
295 |
|
(setNamedItem): Various typos are fixed. |
296 |
|
(removeNamedItem): The node was not removed orz |
297 |
|
(cfg:clone-entity-reference-subtree, |
298 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
299 |
|
cfg:strict-document-children): Definitions are moved |
300 |
|
from the |MDOM:Tree| module. Note that the tests for default |
301 |
|
attributes still fail. |
302 |
|
(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module. |
303 |
|
(Attr): Role name was incorrect. |
304 |
|
|
305 |
|
* XDoctype.dis (setDefinitionNode): Return value was |
306 |
|
not set. |
307 |
|
(AttributeDefinition): Role name was incorrect. |
308 |
|
|
309 |
|
* XML.dis (Require): A reference to the |DISlib:DISMarkup| |
310 |
|
module is added. |
311 |
|
(Notation.appendChild, insertBefore, replaceChild): New method |
312 |
|
implementations. |
313 |
|
(Entity.appendChild, insertBefore, replaceChild): New method |
314 |
|
implementations. |
315 |
|
(EntityReference.appendChild, insertBefore, replaceChild): Now |
316 |
|
they are defined as copies of ones in the |Entity| class. |
317 |
|
(XMLBaseAttribute, XMLIdAttribute): Now they are |
318 |
|
namespace unaware attributes. |
319 |
|
(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes. |
320 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References |
321 |
|
to namespace aware attributes are added. |
322 |
|
|
323 |
|
2006-03-29 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* DOMCore.dis: Namespace prefixes are changed to new ones. |
326 |
|
|
327 |
|
* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but |
328 |
|
untested). |
329 |
|
(___report_error): Reimplemented (untested). |
330 |
|
(manakaiSetReadOnly): New method. |
331 |
|
(Attr.___create_node_ref): New method (untested). |
332 |
|
(Document.getFeature): |require|s the |MDOM:XML| Perl module. |
333 |
|
(createEntityReference, cloneNode): Support for |
334 |
|
the |cfg:entity-reference-read-only| configuration |
335 |
|
parameter is removed; newly created entity references |
336 |
|
are always read-only and use the |manakaiSetReadOnly| method |
337 |
|
if desired. |
338 |
|
(Element.manakaiBaseURI): Reimplemented (untested). |
339 |
|
|
340 |
|
* XDoctype.dis (createGeneralEntity, createNotation): |require|s |
341 |
|
the |MDOM:XML| Perl module. |
342 |
|
(DocumentTypeDefinition.___create_node_stem): Sets |
343 |
|
the |tc:implementation| internal property if its value |
344 |
|
is provided. The |infoset:content| internal property name |
345 |
|
was incorrect. |
346 |
|
(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on |
347 |
|
read-only |NodeList| and |DOMStringList| are added |
348 |
|
for clarification. |
349 |
|
|
350 |
|
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
351 |
|
|
352 |
|
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
353 |
|
module is added. |
354 |
|
(DOMStringList): Reimplemented for new |d:AttributeDefinition| |
355 |
|
implementation (untested). |
356 |
|
|
357 |
|
* TreeCore.dis (baseURI): Reimplemented (untested). |
358 |
|
(Roles): Definitions added. |
359 |
|
|
360 |
|
* XDoctype.dis (Require): References to the |MDOM:TreeCore| |
361 |
|
and |MDOM:XML| modules are added. Reference to the |MDOM:Tree| |
362 |
|
module is removed. |
363 |
|
(DocumentXDoctype): Reimplemented (untested). |
364 |
|
(DocumentTypeDefinition, DocumentTypeDeclaration): |
365 |
|
Reimlemented (untested). |
366 |
|
(ElementTypeDefinition, AttributeDefinition): Reimplemented (untested). |
367 |
|
|
368 |
|
* XML.dis (FeatureDef): New features (definitions copied |
369 |
|
from the |MDOM:DOMXML| module). |
370 |
|
(DocumentType): New interface (definition copied from |
371 |
|
the |MDOM:DOMXML| module). |
372 |
|
(CDATASection, Notation, Entity, EntityReference, ProcessingInstruction): |
373 |
|
Reimplemented (untested). |
374 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested). |
375 |
|
|
376 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
377 |
|
|
378 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
379 |
|
|
380 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
381 |
|
|
382 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
383 |
|
(Text, DocumentFragment, Comment): Most members are |
384 |
|
reimplemented (untested). |
385 |
|
|
386 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
387 |
|
|
388 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
389 |
|
removed to sync with DOM Level 3 Core specification. |
390 |
|
|
391 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
392 |
|
(GetElementsNodeList): Reimplemented (untested). |
393 |
|
|
394 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
395 |
|
|
396 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
397 |
|
parameter must also affect on |manakaiAppendText| |
398 |
|
and |textContent| on |Document| nodes. |
399 |
|
|
400 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
401 |
|
parameter changes the class to |bless|. |
402 |
|
(Node): Most methods are reimplemented. (Untested) |
403 |
|
(CharacterData, Attr): Most methods and attributes are |
404 |
|
reimplemented. (Untested) |
405 |
|
|
406 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
407 |
|
reimplemented (untested). |
408 |
|
|
409 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
412 |
|
(untested). |
413 |
|
|
414 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
415 |
|
|
416 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
417 |
|
a qualified name. |
418 |
|
|
419 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
420 |
|
the prefix if it is an empty string. (Note that |
421 |
|
it is defined as implementation dependent in |
422 |
|
DOM Level 3 Core specification). |
423 |
|
|
424 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
425 |
|
module. |
426 |
|
(Node): Attributes are reimplemented (untested). |
427 |
|
|
428 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
429 |
|
module. |
430 |
|
(Node): Attributes are reimplemented (untested). |
431 |
|
(Entity, Notation): New interfaces. |
432 |
|
|
433 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
434 |
|
|
435 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
436 |
|
|
437 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
438 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
439 |
|
replaceChild, removeChild, createDocumentFragment, |
440 |
|
createEntityReference, createProcessingInstruction, |
441 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
442 |
|
(NodeList, DocumentFragment): New interfaces. |
443 |
|
|
444 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
445 |
|
|
446 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
447 |
|
|
448 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
449 |
|
(createAttributeNS, createTextNode, createComment, |
450 |
|
createCDATASection): New methods. |
451 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
452 |
|
|
453 |
|
* Makefile: |XML.dis| is added. |
454 |
|
|
455 |
|
* XML.dis: New module. |
456 |
|
|
457 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
458 |
|
|
459 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
460 |
|
|
461 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
462 |
|
|
463 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
464 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
465 |
|
(Element): New interface. |
466 |
|
(createElementNS): New method. |
467 |
|
(strictErrorChecking): New. |
468 |
|
|
469 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
470 |
|
|
471 |
|
* Makefile: |TreeCore.dis| is added. |
472 |
|
|
473 |
|
* TreeCore.dis: New module. |
474 |
|
|
475 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
478 |
|
parameter. |
479 |
|
|
480 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
481 |
|
|
482 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
483 |
|
data types added to configuration parameters. |
484 |
|
|
485 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
486 |
|
|
487 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
488 |
|
a |DISSource:ResourceProperty|. |
489 |
|
(c:anyDOMConfigurationParameter): New property. |
490 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
491 |
|
the |c:anyDOMConfigurationParameter| property. |
492 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
493 |
|
|
494 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
495 |
|
|
496 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
497 |
|
|
498 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
499 |
|
are removed. |
500 |
|
|
501 |
|
* GenericLS.pm: Added to the CVS repository since |
502 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
503 |
|
|
504 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
505 |
|
|
506 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
507 |
|
method. |
508 |
|
|
509 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
510 |
|
|
511 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
512 |
|
|
513 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
514 |
|
|
515 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
516 |
|
implementations are added. |
517 |
|
|
518 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
519 |
|
implementations are added. |
520 |
|
|
521 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
522 |
|
implementations are added. |
523 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
524 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
525 |
|
(cfg:strict-document-children): New configuration parameter. |
526 |
|
|
527 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
528 |
|
|
529 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
530 |
|
|
531 |
|
* Tree.dis (replaceChild): Method implementations are added. |
532 |
|
|
533 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
534 |
|
|
535 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
536 |
|
|
537 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
538 |
|
definitions. |
539 |
|
|
540 |
|
* XDoctype.dis (insertBefore): New method implementation. |
541 |
|
|
542 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
543 |
|
|
544 |
|
* DOMXML.dis (insertBefore): Method implementations |
545 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
546 |
|
|
547 |
|
* Tree.dis (insertBefore): Method implementation |
548 |
|
for |CharacterData| nodes is added. |
549 |
|
|
550 |
|
* XDoctype.dis (insertBefore): Method implementation |
551 |
|
for |ElementTypeDefinition| nodes is added. |
552 |
|
|
553 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
554 |
|
|
555 |
|
* XDoctype.dis (appendChild): New method implementation. |
556 |
|
|
557 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
558 |
|
|
559 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
560 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
561 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
562 |
|
|
563 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
564 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
565 |
|
Notation.appendChild): New method implementation. |
566 |
|
|
567 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
568 |
|
|
569 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
570 |
|
|
571 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
572 |
|
|
573 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
574 |
|
|
575 |
|
* Tree.dis (createAttribute, createAttributeNS, |
576 |
|
setAttribute, setAttributeNS): They now supports |
577 |
|
the |cfg:xml-id| configuration parameter. |
578 |
|
(cfg:xml-id): New configuration parameter. |
579 |
|
|
580 |
|
* XDoctype.dis (createAttributeDefinition): It now |
581 |
|
supports the |cfg:xml-id| configuration parameter. |
582 |
|
|
583 |
|
* XMLParser.dis (parse): It now supports |
584 |
|
the |cfg:xml-id| configuration parameter. |
585 |
|
|
586 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
587 |
|
|
588 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
589 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
590 |
|
document created. |
591 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
592 |
|
property of the created node. |
593 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
594 |
|
of the created node. |
595 |
|
(ls-input-to-input-file.default): Sets the resolved |
596 |
|
system identifier to the |documentURI| attribute if available. |
597 |
|
Sets the |baseURI| attribute if available. |
598 |
|
|
599 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
600 |
|
|
601 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
602 |
|
(Node.baseURI): New attribute implementations. |
603 |
|
(declarationBaseURI): Setter is added. |
604 |
|
(manakaiDeclarationBaseURI): New attribute. |
605 |
|
|
606 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
607 |
|
module is added. |
608 |
|
(Node.baseURI): The implementation is revised. |
609 |
|
(getNodeReference): Attribute node classes specialized |
610 |
|
to attribute names are supported. |
611 |
|
(contentBaseURI, htmlBaseURI): Removed. |
612 |
|
(manakaiEntityBaseURI): New attribute. |
613 |
|
(ManakaiDOMImplementationDocument): It now inherits |
614 |
|
the |urigen:URIImplementation| class. |
615 |
|
|
616 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
617 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
618 |
|
one. |
619 |
|
|
620 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
621 |
|
module is added. |
622 |
|
(DocumentType.implementation): New attribute. |
623 |
|
(Node.baseURI): Implementations are added. |
624 |
|
(manakaiDeclarationBaseURI): New attributes. |
625 |
|
(manakaiEntityBaseURI): New attributes. |
626 |
|
(manakaiEntityURI): New attribute. |
627 |
|
(manakaiExternal): New attribute. |
628 |
|
(manakaiBaseURI): New attribute. |
629 |
|
(ManakaiDOMXMLBaseAttr): New class. |
630 |
|
|
631 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
632 |
|
|
633 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
634 |
|
module was missing. |
635 |
|
|
636 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
637 |
|
|
638 |
|
* Makefile (distclean): New rule. |
639 |
|
|
640 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
641 |
|
|
642 |
|
* DOMLS.dis: Removed from the CVS repository, since |
643 |
|
it has been no longer required to make the |daf| system |
644 |
|
itself. |
645 |
|
|
646 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
647 |
|
|
648 |
|
* Makefile: Revised for new |daf| database format. |
649 |
|
|
650 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
651 |
|
|
652 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
653 |
|
module is added. |
654 |
|
|
655 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
656 |
|
|
657 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
658 |
|
by mistake. |
659 |
|
|
660 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
661 |
|
|
662 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
663 |
|
feature. |
664 |
|
|
665 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
666 |
|
|
667 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
668 |
|
(DOMImplementationLS.createLSParser): Implemented. |
669 |
|
(DOMImplementationLS.createLSInput): Revised. |
670 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
671 |
|
|
672 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
673 |
|
|
674 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
675 |
|
|
676 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
677 |
|
is introduced. |
678 |
|
(async, busy): Implemented. |
679 |
|
(parseString): Removed. |
680 |
|
(parse, parseURI): Implemented. |
681 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
682 |
|
(shiftChar): Gets character from current file handle |
683 |
|
rather than replacement text. Don't normalize |
684 |
|
line break characters for internal entities. Don't |
685 |
|
throw |xp:wf-legal-literal-character| error |
686 |
|
for |RestrictedChar| appearing in internal entities. |
687 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
688 |
|
(_EntityDeclaration): Copy document URI and base URI |
689 |
|
to the entity's |$decl| object. |
690 |
|
(ParseError): New code fragment. |
691 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
692 |
|
text. |
693 |
|
(xp-error-lines): Don't appends text if no replacement |
694 |
|
text is available. |
695 |
|
(error-handler): New configuration parameter application resource. |
696 |
|
(ManakaiDOMLSInputToInputFile): New class. |
697 |
|
(ManakaiDOMInputFile): New class. |
698 |
|
|
699 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
700 |
|
|
701 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
702 |
|
|
703 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
704 |
|
|
705 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
706 |
|
(parseString): Don't output |Document| warnings |
707 |
|
during tree construction to standard error output. |
708 |
|
|
709 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
710 |
|
|
711 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
712 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
713 |
|
error detection is implemented. Generates |Notation| nodes |
714 |
|
from notation declarations. |
715 |
|
(checkNCName, checkQName): New code fragments. |
716 |
|
|
717 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
718 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
719 |
|
is |false|. |
720 |
|
|
721 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
722 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
723 |
|
|
724 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
725 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
726 |
|
(Attr.specified): Setter added. |
727 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
728 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
729 |
|
if |Document.strictErrorChecking| is |false|. |
730 |
|
|
731 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
732 |
|
|
733 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
734 |
|
attribute of the |Document| node. Don't process entity |
735 |
|
and attribute definition list declarations after |
736 |
|
unread parameter entity reference. Warns if an attribute definition is |
737 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
738 |
|
flags whether predefined entities are declared or not. |
739 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
740 |
|
|
741 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
742 |
|
|
743 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
744 |
|
if a predefined entity declaration references an external entity. |
745 |
|
Issues |xp:error-malformed-predefined-entity| error if |
746 |
|
a predefined entity declaration defines different thing than |
747 |
|
one as in XML specification. |
748 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
749 |
|
more than one entity declarations for an entity is found. |
750 |
|
(WFErrDef): Now all well-formedness errors are marked |
751 |
|
as |SEVERITY_FATAL_ERROR|. |
752 |
|
|
753 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
754 |
|
predefined entity declarations. |
755 |
|
(DocumentXDoctype.createNotation): New method. |
756 |
|
(DocumentTypeDefinition.notations): New attribute. |
757 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
758 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
759 |
|
(newNotationForTest): New code fragment. |
760 |
|
|
761 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
762 |
|
(c:ManakaiDOMNotationMap): New class. |
763 |
|
(c:ManakaiDOMNotationMapArray): New class. |
764 |
|
(Document.allDeclarationsProcessed): New attribute. |
765 |
|
|
766 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
767 |
|
(Notation): Revised. |
768 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
769 |
|
|
770 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
771 |
|
|
772 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
773 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
774 |
|
if a parameter entity declaration contains |NDATA| keyword. |
775 |
|
(setEmptyEntityState): Set |name| attribute. |
776 |
|
|
777 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
778 |
|
loop even if entity replacement tree contains recursive |
779 |
|
reference directly or indirectly. |
780 |
|
|
781 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
782 |
|
|
783 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
784 |
|
WFC error is implemented. |
785 |
|
|
786 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
787 |
|
|
788 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
789 |
|
configuration parameter |true| during tree construction |
790 |
|
to ensure default attribute value is cloned as is |
791 |
|
including entity reference subtree. |
792 |
|
|
793 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
794 |
|
parameter. |
795 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
796 |
|
configuration parameter support is added. |
797 |
|
|
798 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
799 |
|
|
800 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
801 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
802 |
|
content before constructing |Entity| replacement tree. |
803 |
|
The |xp:wf-entity-declared| well-formedness constraint |
804 |
|
for entity references in attribute value literal is implemented. |
805 |
|
|
806 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
807 |
|
|
808 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
809 |
|
constaraint for entity references that appear in |
810 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
811 |
|
attribute. |
812 |
|
(getEmptyEntityState): New code. |
813 |
|
|
814 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
815 |
|
definition is removed. |
816 |
|
|
817 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
818 |
|
(EntityReference.isExpanded): Setter is added. |
819 |
|
|
820 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
823 |
|
and |xp:wf-no-external-entity-references| well-formedness |
824 |
|
constraints are implemented. |
825 |
|
|
826 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
827 |
|
|
828 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
829 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
830 |
|
errors (including well-formedness constraint errors) are |
831 |
|
traped by the error handler. |
832 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
833 |
|
attribute of the node. Reports an error if |publidLiteral| |
834 |
|
contains a non-|pubidChar|. |
835 |
|
|
836 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
837 |
|
version |3.0|). |
838 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
839 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
840 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
841 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
842 |
|
interface (except unimplemented |notations| and |internalSubset| |
843 |
|
attributes). |
844 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
845 |
|
for compatibility with |x:DocumentType| interface. |
846 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
847 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
848 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
849 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
850 |
|
(DocumentTypeDeclaration): New interface. |
851 |
|
|
852 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
853 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
854 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
855 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
856 |
|
instead of obsolete |DocumentType.newObject|. |
857 |
|
|
858 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
859 |
|
DocumentType.publicId, DocumentType.systemId, |
860 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
861 |
|
as clones of similar attributes or methods |
862 |
|
in |MDOM:XDoctype| module. |
863 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
864 |
|
instead). |
865 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
866 |
|
is used). |
867 |
|
|
868 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
869 |
|
|
870 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
871 |
|
fatal error. |
872 |
|
|
873 |
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
874 |
|
|
875 |
* XMLParser.dis (CommentDeclaration): |STRING| is now |
* XMLParser.dis (CommentDeclaration): |STRING| is now |