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