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