1 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
4 |
|
parameter must also affect on |manakaiAppendText| |
5 |
|
and |textContent| on |Document| nodes. |
6 |
|
|
7 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
8 |
|
parameter changes the class to |bless|. |
9 |
|
(Node): Most methods are reimplemented. (Untested) |
10 |
|
(CharacterData, Attr): Most methods and attributes are |
11 |
|
reimplemented. (Untested) |
12 |
|
|
13 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
14 |
|
reimplemented (untested). |
15 |
|
|
16 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
19 |
|
(untested). |
20 |
|
|
21 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
24 |
|
a qualified name. |
25 |
|
|
26 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
27 |
|
the prefix if it is an empty string. (Note that |
28 |
|
it is defined as implementation dependent in |
29 |
|
DOM Level 3 Core specification). |
30 |
|
|
31 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
32 |
|
module. |
33 |
|
(Node): Attributes are reimplemented (untested). |
34 |
|
|
35 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
36 |
|
module. |
37 |
|
(Node): Attributes are reimplemented (untested). |
38 |
|
(Entity, Notation): New interfaces. |
39 |
|
|
40 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
41 |
|
|
42 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
45 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
46 |
|
replaceChild, removeChild, createDocumentFragment, |
47 |
|
createEntityReference, createProcessingInstruction, |
48 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
49 |
|
(NodeList, DocumentFragment): New interfaces. |
50 |
|
|
51 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
52 |
|
|
53 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
56 |
|
(createAttributeNS, createTextNode, createComment, |
57 |
|
createCDATASection): New methods. |
58 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
59 |
|
|
60 |
|
* Makefile: |XML.dis| is added. |
61 |
|
|
62 |
|
* XML.dis: New module. |
63 |
|
|
64 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
67 |
|
|
68 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
71 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
72 |
|
(Element): New interface. |
73 |
|
(createElementNS): New method. |
74 |
|
(strictErrorChecking): New. |
75 |
|
|
76 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* Makefile: |TreeCore.dis| is added. |
79 |
|
|
80 |
|
* TreeCore.dis: New module. |
81 |
|
|
82 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
85 |
|
parameter. |
86 |
|
|
87 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
88 |
|
|
89 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
90 |
|
data types added to configuration parameters. |
91 |
|
|
92 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
95 |
|
a |DISSource:ResourceProperty|. |
96 |
|
(c:anyDOMConfigurationParameter): New property. |
97 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
98 |
|
the |c:anyDOMConfigurationParameter| property. |
99 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
100 |
|
|
101 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
102 |
|
|
103 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
106 |
|
are removed. |
107 |
|
|
108 |
|
* GenericLS.pm: Added to the CVS repository since |
109 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
110 |
|
|
111 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
114 |
|
method. |
115 |
|
|
116 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
117 |
|
|
118 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
121 |
|
|
122 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
123 |
|
implementations are added. |
124 |
|
|
125 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
126 |
|
implementations are added. |
127 |
|
|
128 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
129 |
|
implementations are added. |
130 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
131 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
132 |
|
(cfg:strict-document-children): New configuration parameter. |
133 |
|
|
134 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
137 |
|
|
138 |
|
* Tree.dis (replaceChild): Method implementations are added. |
139 |
|
|
140 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
141 |
|
|
142 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
145 |
|
definitions. |
146 |
|
|
147 |
|
* XDoctype.dis (insertBefore): New method implementation. |
148 |
|
|
149 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* DOMXML.dis (insertBefore): Method implementations |
152 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
153 |
|
|
154 |
|
* Tree.dis (insertBefore): Method implementation |
155 |
|
for |CharacterData| nodes is added. |
156 |
|
|
157 |
|
* XDoctype.dis (insertBefore): Method implementation |
158 |
|
for |ElementTypeDefinition| nodes is added. |
159 |
|
|
160 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* XDoctype.dis (appendChild): New method implementation. |
163 |
|
|
164 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
167 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
168 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
169 |
|
|
170 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
171 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
172 |
|
Notation.appendChild): New method implementation. |
173 |
|
|
174 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
175 |
|
|
176 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
177 |
|
|
178 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
181 |
|
|
182 |
|
* Tree.dis (createAttribute, createAttributeNS, |
183 |
|
setAttribute, setAttributeNS): They now supports |
184 |
|
the |cfg:xml-id| configuration parameter. |
185 |
|
(cfg:xml-id): New configuration parameter. |
186 |
|
|
187 |
|
* XDoctype.dis (createAttributeDefinition): It now |
188 |
|
supports the |cfg:xml-id| configuration parameter. |
189 |
|
|
190 |
|
* XMLParser.dis (parse): It now supports |
191 |
|
the |cfg:xml-id| configuration parameter. |
192 |
|
|
193 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
196 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
197 |
|
document created. |
198 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
199 |
|
property of the created node. |
200 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
201 |
|
of the created node. |
202 |
|
(ls-input-to-input-file.default): Sets the resolved |
203 |
|
system identifier to the |documentURI| attribute if available. |
204 |
|
Sets the |baseURI| attribute if available. |
205 |
|
|
206 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
209 |
|
(Node.baseURI): New attribute implementations. |
210 |
|
(declarationBaseURI): Setter is added. |
211 |
|
(manakaiDeclarationBaseURI): New attribute. |
212 |
|
|
213 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
214 |
|
module is added. |
215 |
|
(Node.baseURI): The implementation is revised. |
216 |
|
(getNodeReference): Attribute node classes specialized |
217 |
|
to attribute names are supported. |
218 |
|
(contentBaseURI, htmlBaseURI): Removed. |
219 |
|
(manakaiEntityBaseURI): New attribute. |
220 |
|
(ManakaiDOMImplementationDocument): It now inherits |
221 |
|
the |urigen:URIImplementation| class. |
222 |
|
|
223 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
224 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
225 |
|
one. |
226 |
|
|
227 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
228 |
|
module is added. |
229 |
|
(DocumentType.implementation): New attribute. |
230 |
|
(Node.baseURI): Implementations are added. |
231 |
|
(manakaiDeclarationBaseURI): New attributes. |
232 |
|
(manakaiEntityBaseURI): New attributes. |
233 |
|
(manakaiEntityURI): New attribute. |
234 |
|
(manakaiExternal): New attribute. |
235 |
|
(manakaiBaseURI): New attribute. |
236 |
|
(ManakaiDOMXMLBaseAttr): New class. |
237 |
|
|
238 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
241 |
|
module was missing. |
242 |
|
|
243 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
244 |
|
|
245 |
|
* Makefile (distclean): New rule. |
246 |
|
|
247 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* DOMLS.dis: Removed from the CVS repository, since |
250 |
|
it has been no longer required to make the |daf| system |
251 |
|
itself. |
252 |
|
|
253 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* Makefile: Revised for new |daf| database format. |
256 |
|
|
257 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
260 |
|
module is added. |
261 |
|
|
262 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
263 |
|
|
264 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
265 |
|
by mistake. |
266 |
|
|
267 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
270 |
|
feature. |
271 |
|
|
272 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
273 |
|
|
274 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
275 |
|
(DOMImplementationLS.createLSParser): Implemented. |
276 |
|
(DOMImplementationLS.createLSInput): Revised. |
277 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
278 |
|
|
279 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
280 |
|
|
281 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
282 |
|
|
283 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
284 |
|
is introduced. |
285 |
|
(async, busy): Implemented. |
286 |
|
(parseString): Removed. |
287 |
|
(parse, parseURI): Implemented. |
288 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
289 |
|
(shiftChar): Gets character from current file handle |
290 |
|
rather than replacement text. Don't normalize |
291 |
|
line break characters for internal entities. Don't |
292 |
|
throw |xp:wf-legal-literal-character| error |
293 |
|
for |RestrictedChar| appearing in internal entities. |
294 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
295 |
|
(_EntityDeclaration): Copy document URI and base URI |
296 |
|
to the entity's |$decl| object. |
297 |
|
(ParseError): New code fragment. |
298 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
299 |
|
text. |
300 |
|
(xp-error-lines): Don't appends text if no replacement |
301 |
|
text is available. |
302 |
|
(error-handler): New configuration parameter application resource. |
303 |
|
(ManakaiDOMLSInputToInputFile): New class. |
304 |
|
(ManakaiDOMInputFile): New class. |
305 |
|
|
306 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
307 |
|
|
308 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
309 |
|
|
310 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
313 |
|
(parseString): Don't output |Document| warnings |
314 |
|
during tree construction to standard error output. |
315 |
|
|
316 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
319 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
320 |
|
error detection is implemented. Generates |Notation| nodes |
321 |
|
from notation declarations. |
322 |
|
(checkNCName, checkQName): New code fragments. |
323 |
|
|
324 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
325 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
326 |
|
is |false|. |
327 |
|
|
328 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
329 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
330 |
|
|
331 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
332 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
333 |
|
(Attr.specified): Setter added. |
334 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
335 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
336 |
|
if |Document.strictErrorChecking| is |false|. |
337 |
|
|
338 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
341 |
|
attribute of the |Document| node. Don't process entity |
342 |
|
and attribute definition list declarations after |
343 |
|
unread parameter entity reference. Warns if an attribute definition is |
344 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
345 |
|
flags whether predefined entities are declared or not. |
346 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
347 |
|
|
348 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
349 |
|
|
350 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
351 |
|
if a predefined entity declaration references an external entity. |
352 |
|
Issues |xp:error-malformed-predefined-entity| error if |
353 |
|
a predefined entity declaration defines different thing than |
354 |
|
one as in XML specification. |
355 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
356 |
|
more than one entity declarations for an entity is found. |
357 |
|
(WFErrDef): Now all well-formedness errors are marked |
358 |
|
as |SEVERITY_FATAL_ERROR|. |
359 |
|
|
360 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
361 |
|
predefined entity declarations. |
362 |
|
(DocumentXDoctype.createNotation): New method. |
363 |
|
(DocumentTypeDefinition.notations): New attribute. |
364 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
365 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
366 |
|
(newNotationForTest): New code fragment. |
367 |
|
|
368 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
369 |
|
(c:ManakaiDOMNotationMap): New class. |
370 |
|
(c:ManakaiDOMNotationMapArray): New class. |
371 |
|
(Document.allDeclarationsProcessed): New attribute. |
372 |
|
|
373 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
374 |
|
(Notation): Revised. |
375 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
376 |
|
|
377 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
378 |
|
|
379 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
380 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
381 |
|
if a parameter entity declaration contains |NDATA| keyword. |
382 |
|
(setEmptyEntityState): Set |name| attribute. |
383 |
|
|
384 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
385 |
|
loop even if entity replacement tree contains recursive |
386 |
|
reference directly or indirectly. |
387 |
|
|
388 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
389 |
|
|
390 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
391 |
|
WFC error is implemented. |
392 |
|
|
393 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
394 |
|
|
395 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
396 |
|
configuration parameter |true| during tree construction |
397 |
|
to ensure default attribute value is cloned as is |
398 |
|
including entity reference subtree. |
399 |
|
|
400 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
401 |
|
parameter. |
402 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
403 |
|
configuration parameter support is added. |
404 |
|
|
405 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
406 |
|
|
407 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
408 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
409 |
|
content before constructing |Entity| replacement tree. |
410 |
|
The |xp:wf-entity-declared| well-formedness constraint |
411 |
|
for entity references in attribute value literal is implemented. |
412 |
|
|
413 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
414 |
|
|
415 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
416 |
|
constaraint for entity references that appear in |
417 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
418 |
|
attribute. |
419 |
|
(getEmptyEntityState): New code. |
420 |
|
|
421 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
422 |
|
definition is removed. |
423 |
|
|
424 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
425 |
|
(EntityReference.isExpanded): Setter is added. |
426 |
|
|
427 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
428 |
|
|
429 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
430 |
|
and |xp:wf-no-external-entity-references| well-formedness |
431 |
|
constraints are implemented. |
432 |
|
|
433 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
434 |
|
|
435 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
436 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
437 |
|
errors (including well-formedness constraint errors) are |
438 |
|
traped by the error handler. |
439 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
440 |
|
attribute of the node. Reports an error if |publidLiteral| |
441 |
|
contains a non-|pubidChar|. |
442 |
|
|
443 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
444 |
|
version |3.0|). |
445 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
446 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
447 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
448 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
449 |
|
interface (except unimplemented |notations| and |internalSubset| |
450 |
|
attributes). |
451 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
452 |
|
for compatibility with |x:DocumentType| interface. |
453 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
454 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
455 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
456 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
457 |
|
(DocumentTypeDeclaration): New interface. |
458 |
|
|
459 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
460 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
461 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
462 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
463 |
|
instead of obsolete |DocumentType.newObject|. |
464 |
|
|
465 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
466 |
|
DocumentType.publicId, DocumentType.systemId, |
467 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
468 |
|
as clones of similar attributes or methods |
469 |
|
in |MDOM:XDoctype| module. |
470 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
471 |
|
instead). |
472 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
473 |
|
is used). |
474 |
|
|
475 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
478 |
|
fatal error. |
479 |
|
|
480 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
481 |
|
|
482 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
483 |
|
defined as a |?default-token|. |
484 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
485 |
|
comment declarations, cdata sections, and |MSE| in |content| |
486 |
|
added. |
487 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
488 |
|
(get-location-from-token): |$token->{location_d}| |
489 |
|
for |?default-token| column counting support added. |
490 |
|
|
491 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
492 |
|
|
493 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
494 |
|
|
495 |
|
* Tree.dis (createProcessingInstruction): Don't |
496 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
497 |
|
is |false|. |
498 |
|
|
499 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
500 |
|
It enables improved error position report. |
501 |
|
(XDO): It now includes |S+| following target name |xml| as |
502 |
|
part of the token. (PI with target starting with |xml| |
503 |
|
was unable to be placed at the beginning of the document entity.) |
504 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
505 |
|
a processing instruction node with |#INVALID| node name |
506 |
|
if target name is not given and recovered from the error. |
507 |
|
(S): Variable |$s| added. |
508 |
|
(XMLTests): Tests for XML declarations and processing |
509 |
|
instructions are added. Prints error type name if unexpected |
510 |
|
error with severity of error or fatal error has been reported. |
511 |
|
Catch unexpected exceptions thrown in parser (different |
512 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
513 |
|
for the ease of testing. |
514 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
515 |
|
stack into acount. |
516 |
|
|
517 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
518 |
|
|
519 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
520 |
|
is fixed. Although the DOM Level 3 Core specification |
521 |
|
is unclear about whether the first number is zero or one, |
522 |
|
in most programs the first line is "one" and |
523 |
|
the first column is "one", manakai follows the practice. |
524 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
525 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
526 |
|
tests (successful cases) added. |
527 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
528 |
|
properties. |
529 |
|
|
530 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
531 |
|
|
532 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
533 |
|
|
534 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
535 |
|
|
536 |
|
* DOMCore.dis (c:erred): New property. |
537 |
|
(c:DOMErrorType): It should have been a subset |
538 |
|
of |ecore:AnyErrorCode|. |
539 |
|
|
540 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
541 |
|
|
542 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
543 |
|
|
544 |
|
* XDoctype.dis (d:Feature): New canonical feature |
545 |
|
name |fe:XDoctype| is added. |
546 |
|
|
547 |
|
* XMLParser.dis: Predefined general entity references |
548 |
|
are implemented. Creates |Entity| nodes from general entities |
549 |
|
declared in internal subset. |Entity| nodes created from internal |
550 |
|
general parsed entities now have replacement tree. |
551 |
|
Sets |cfg:entity-reference-read-only| flag off during |
552 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
553 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
554 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
555 |
|
introduced. General entity references in attribute value literal |
556 |
|
are supported. |
557 |
|
|
558 |
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
559 |
|
|
560 |
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |