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