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