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