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