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