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