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