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