1 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
4 |
|
|
5 |
|
* Tree.dis (replaceChild): Method implementations are added. |
6 |
|
|
7 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
8 |
|
|
9 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
12 |
|
definitions. |
13 |
|
|
14 |
|
* XDoctype.dis (insertBefore): New method implementation. |
15 |
|
|
16 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* DOMXML.dis (insertBefore): Method implementations |
19 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
20 |
|
|
21 |
|
* Tree.dis (insertBefore): Method implementation |
22 |
|
for |CharacterData| nodes is added. |
23 |
|
|
24 |
|
* XDoctype.dis (insertBefore): Method implementation |
25 |
|
for |ElementTypeDefinition| nodes is added. |
26 |
|
|
27 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* XDoctype.dis (appendChild): New method implementation. |
30 |
|
|
31 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
34 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
35 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
36 |
|
|
37 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
38 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
39 |
|
Notation.appendChild): New method implementation. |
40 |
|
|
41 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
42 |
|
|
43 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
44 |
|
|
45 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
48 |
|
|
49 |
|
* Tree.dis (createAttribute, createAttributeNS, |
50 |
|
setAttribute, setAttributeNS): They now supports |
51 |
|
the |cfg:xml-id| configuration parameter. |
52 |
|
(cfg:xml-id): New configuration parameter. |
53 |
|
|
54 |
|
* XDoctype.dis (createAttributeDefinition): It now |
55 |
|
supports the |cfg:xml-id| configuration parameter. |
56 |
|
|
57 |
|
* XMLParser.dis (parse): It now supports |
58 |
|
the |cfg:xml-id| configuration parameter. |
59 |
|
|
60 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
63 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
64 |
|
document created. |
65 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
66 |
|
property of the created node. |
67 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
68 |
|
of the created node. |
69 |
|
(ls-input-to-input-file.default): Sets the resolved |
70 |
|
system identifier to the |documentURI| attribute if available. |
71 |
|
Sets the |baseURI| attribute if available. |
72 |
|
|
73 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
76 |
|
(Node.baseURI): New attribute implementations. |
77 |
|
(declarationBaseURI): Setter is added. |
78 |
|
(manakaiDeclarationBaseURI): New attribute. |
79 |
|
|
80 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
81 |
|
module is added. |
82 |
|
(Node.baseURI): The implementation is revised. |
83 |
|
(getNodeReference): Attribute node classes specialized |
84 |
|
to attribute names are supported. |
85 |
|
(contentBaseURI, htmlBaseURI): Removed. |
86 |
|
(manakaiEntityBaseURI): New attribute. |
87 |
|
(ManakaiDOMImplementationDocument): It now inherits |
88 |
|
the |urigen:URIImplementation| class. |
89 |
|
|
90 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
91 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
92 |
|
one. |
93 |
|
|
94 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
95 |
|
module is added. |
96 |
|
(DocumentType.implementation): New attribute. |
97 |
|
(Node.baseURI): Implementations are added. |
98 |
|
(manakaiDeclarationBaseURI): New attributes. |
99 |
|
(manakaiEntityBaseURI): New attributes. |
100 |
|
(manakaiEntityURI): New attribute. |
101 |
|
(manakaiExternal): New attribute. |
102 |
|
(manakaiBaseURI): New attribute. |
103 |
|
(ManakaiDOMXMLBaseAttr): New class. |
104 |
|
|
105 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
108 |
|
module was missing. |
109 |
|
|
110 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
111 |
|
|
112 |
|
* Makefile (distclean): New rule. |
113 |
|
|
114 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* DOMLS.dis: Removed from the CVS repository, since |
117 |
|
it has been no longer required to make the |daf| system |
118 |
|
itself. |
119 |
|
|
120 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* Makefile: Revised for new |daf| database format. |
123 |
|
|
124 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
127 |
|
module is added. |
128 |
|
|
129 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
132 |
|
by mistake. |
133 |
|
|
134 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
137 |
|
feature. |
138 |
|
|
139 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
140 |
|
|
141 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
142 |
|
(DOMImplementationLS.createLSParser): Implemented. |
143 |
|
(DOMImplementationLS.createLSInput): Revised. |
144 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
145 |
|
|
146 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
147 |
|
|
148 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
150 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
151 |
|
is introduced. |
152 |
|
(async, busy): Implemented. |
153 |
|
(parseString): Removed. |
154 |
|
(parse, parseURI): Implemented. |
155 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
156 |
|
(shiftChar): Gets character from current file handle |
157 |
|
rather than replacement text. Don't normalize |
158 |
|
line break characters for internal entities. Don't |
159 |
|
throw |xp:wf-legal-literal-character| error |
160 |
|
for |RestrictedChar| appearing in internal entities. |
161 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
162 |
|
(_EntityDeclaration): Copy document URI and base URI |
163 |
|
to the entity's |$decl| object. |
164 |
|
(ParseError): New code fragment. |
165 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
166 |
|
text. |
167 |
|
(xp-error-lines): Don't appends text if no replacement |
168 |
|
text is available. |
169 |
|
(error-handler): New configuration parameter application resource. |
170 |
|
(ManakaiDOMLSInputToInputFile): New class. |
171 |
|
(ManakaiDOMInputFile): New class. |
172 |
|
|
173 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
174 |
|
|
175 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
176 |
|
|
177 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
180 |
|
(parseString): Don't output |Document| warnings |
181 |
|
during tree construction to standard error output. |
182 |
|
|
183 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
185 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
186 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
187 |
|
error detection is implemented. Generates |Notation| nodes |
188 |
|
from notation declarations. |
189 |
|
(checkNCName, checkQName): New code fragments. |
190 |
|
|
191 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
192 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
193 |
|
is |false|. |
194 |
|
|
195 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
196 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
197 |
|
|
198 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
199 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
200 |
|
(Attr.specified): Setter added. |
201 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
202 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
203 |
|
if |Document.strictErrorChecking| is |false|. |
204 |
|
|
205 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
208 |
|
attribute of the |Document| node. Don't process entity |
209 |
|
and attribute definition list declarations after |
210 |
|
unread parameter entity reference. Warns if an attribute definition is |
211 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
212 |
|
flags whether predefined entities are declared or not. |
213 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
214 |
|
|
215 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
217 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
218 |
|
if a predefined entity declaration references an external entity. |
219 |
|
Issues |xp:error-malformed-predefined-entity| error if |
220 |
|
a predefined entity declaration defines different thing than |
221 |
|
one as in XML specification. |
222 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
223 |
|
more than one entity declarations for an entity is found. |
224 |
|
(WFErrDef): Now all well-formedness errors are marked |
225 |
|
as |SEVERITY_FATAL_ERROR|. |
226 |
|
|
227 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
228 |
|
predefined entity declarations. |
229 |
|
(DocumentXDoctype.createNotation): New method. |
230 |
|
(DocumentTypeDefinition.notations): New attribute. |
231 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
232 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
233 |
|
(newNotationForTest): New code fragment. |
234 |
|
|
235 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
236 |
|
(c:ManakaiDOMNotationMap): New class. |
237 |
|
(c:ManakaiDOMNotationMapArray): New class. |
238 |
|
(Document.allDeclarationsProcessed): New attribute. |
239 |
|
|
240 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
241 |
|
(Notation): Revised. |
242 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
243 |
|
|
244 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
246 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
247 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
248 |
|
if a parameter entity declaration contains |NDATA| keyword. |
249 |
|
(setEmptyEntityState): Set |name| attribute. |
250 |
|
|
251 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
252 |
|
loop even if entity replacement tree contains recursive |
253 |
|
reference directly or indirectly. |
254 |
|
|
255 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
256 |
|
|
257 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
258 |
|
WFC error is implemented. |
259 |
|
|
260 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
263 |
|
configuration parameter |true| during tree construction |
264 |
|
to ensure default attribute value is cloned as is |
265 |
|
including entity reference subtree. |
266 |
|
|
267 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
268 |
|
parameter. |
269 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
270 |
|
configuration parameter support is added. |
271 |
|
|
272 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
273 |
|
|
274 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
275 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
276 |
|
content before constructing |Entity| replacement tree. |
277 |
|
The |xp:wf-entity-declared| well-formedness constraint |
278 |
|
for entity references in attribute value literal is implemented. |
279 |
|
|
280 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
283 |
|
constaraint for entity references that appear in |
284 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
285 |
|
attribute. |
286 |
|
(getEmptyEntityState): New code. |
287 |
|
|
288 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
289 |
|
definition is removed. |
290 |
|
|
291 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
292 |
|
(EntityReference.isExpanded): Setter is added. |
293 |
|
|
294 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
297 |
|
and |xp:wf-no-external-entity-references| well-formedness |
298 |
|
constraints are implemented. |
299 |
|
|
300 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
303 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
304 |
|
errors (including well-formedness constraint errors) are |
305 |
|
traped by the error handler. |
306 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
307 |
|
attribute of the node. Reports an error if |publidLiteral| |
308 |
|
contains a non-|pubidChar|. |
309 |
|
|
310 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
311 |
|
version |3.0|). |
312 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
313 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
314 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
315 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
316 |
|
interface (except unimplemented |notations| and |internalSubset| |
317 |
|
attributes). |
318 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
319 |
|
for compatibility with |x:DocumentType| interface. |
320 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
321 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
322 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
323 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
324 |
|
(DocumentTypeDeclaration): New interface. |
325 |
|
|
326 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
327 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
328 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
329 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
330 |
|
instead of obsolete |DocumentType.newObject|. |
331 |
|
|
332 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
333 |
|
DocumentType.publicId, DocumentType.systemId, |
334 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
335 |
|
as clones of similar attributes or methods |
336 |
|
in |MDOM:XDoctype| module. |
337 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
338 |
|
instead). |
339 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
340 |
|
is used). |
341 |
|
|
342 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
345 |
|
fatal error. |
346 |
|
|
347 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
348 |
|
|
349 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
350 |
|
defined as a |?default-token|. |
351 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
352 |
|
comment declarations, cdata sections, and |MSE| in |content| |
353 |
|
added. |
354 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
355 |
|
(get-location-from-token): |$token->{location_d}| |
356 |
|
for |?default-token| column counting support added. |
357 |
|
|
358 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
359 |
|
|
360 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* Tree.dis (createProcessingInstruction): Don't |
363 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
364 |
|
is |false|. |
365 |
|
|
366 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
367 |
|
It enables improved error position report. |
368 |
|
(XDO): It now includes |S+| following target name |xml| as |
369 |
|
part of the token. (PI with target starting with |xml| |
370 |
|
was unable to be placed at the beginning of the document entity.) |
371 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
372 |
|
a processing instruction node with |#INVALID| node name |
373 |
|
if target name is not given and recovered from the error. |
374 |
|
(S): Variable |$s| added. |
375 |
|
(XMLTests): Tests for XML declarations and processing |
376 |
|
instructions are added. Prints error type name if unexpected |
377 |
|
error with severity of error or fatal error has been reported. |
378 |
|
Catch unexpected exceptions thrown in parser (different |
379 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
380 |
|
for the ease of testing. |
381 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
382 |
|
stack into acount. |
383 |
|
|
384 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
387 |
|
is fixed. Although the DOM Level 3 Core specification |
388 |
|
is unclear about whether the first number is zero or one, |
389 |
|
in most programs the first line is "one" and |
390 |
|
the first column is "one", manakai follows the practice. |
391 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
392 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
393 |
|
tests (successful cases) added. |
394 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
395 |
|
properties. |
396 |
|
|
397 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
398 |
|
|
399 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
400 |
|
|
401 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
402 |
|
|
403 |
|
* DOMCore.dis (c:erred): New property. |
404 |
|
(c:DOMErrorType): It should have been a subset |
405 |
|
of |ecore:AnyErrorCode|. |
406 |
|
|
407 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
408 |
|
|
409 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* XDoctype.dis (d:Feature): New canonical feature |
412 |
|
name |fe:XDoctype| is added. |
413 |
|
|
414 |
|
* XMLParser.dis: Predefined general entity references |
415 |
|
are implemented. Creates |Entity| nodes from general entities |
416 |
|
declared in internal subset. |Entity| nodes created from internal |
417 |
|
general parsed entities now have replacement tree. |
418 |
|
Sets |cfg:entity-reference-read-only| flag off during |
419 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
420 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
421 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
422 |
|
introduced. General entity references in attribute value literal |
423 |
|
are supported. |
424 |
|
|
425 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
428 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
429 |
|
(createEntityReference): Set |c:read-only| flag of |
430 |
|
the created entity reference, too. |
431 |
|
|
432 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
433 |
|
|
434 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
435 |
|
from |DOMFeature| module instead. Use |idl:Object| |
436 |
|
instead of |DOMMain:DOMObject| as well. |
437 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
438 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
439 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
440 |
|
respectively. |
441 |
|
|
442 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
443 |
|
It will be reimplemented using |DocumentTypeDefinition| |
444 |
|
class from |XDoctype| module. |
445 |
|
|
446 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
447 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
448 |
|
SimpleLS.dis: Cleaned up unused definitions. |
449 |
|
|
450 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
451 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
452 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
453 |
|
|
454 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
455 |
|
|
456 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
457 |
|
(feature.dae): Include |GenericLS| module. |
458 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
459 |
|
(ls.dae): Include |DOMLS| module. |
460 |
|
|
461 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
462 |
|
|
463 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
464 |
|
attribute are added. |
465 |
|
|
466 |
|
* XDoctype.dis (createGeneralEntity): New method. |
467 |
|
(generalEntities): New attribute. |
468 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
469 |
|
|
470 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
471 |
|
(ManakaiDOMEntityMap): New class. |
472 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
473 |
|
(createEntityReference): If there is a corresponding |Entity| |
474 |
|
node in the document type definition, then copies its |
475 |
|
subtree. |
476 |
|
|
477 |
|
* DOMXML.dis (Entity): Documentation updated. |
478 |
|
(publicId, systemId, notationName, xmlEncoding, |
479 |
|
xmlVersion): These attributes are now settable |
480 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
481 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
482 |
|
mode. |
483 |
|
(ownerDocumentTypeDefinition): New attribute |
484 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
485 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
486 |
|
|
487 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
488 |
|
|
489 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
490 |
|
|
491 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
492 |
|
|
493 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
494 |
|
(ManakaiDOMAttributes): Removed. |
495 |
|
(ManakaiDOMAttrMap): New class. |
496 |
|
(ManakaiDOMAttrMapArray): New class. |
497 |
|
(namespaceURI): Bug to return a string representation |
498 |
|
of a reference to the namespace URI string is fixed. |
499 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
500 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
501 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
502 |
|
if there is no attribute node. |
503 |
|
(createElement, createElementNS): DTD default attributes are supported. |
504 |
|
(setAttributeNode): Reimplemented. |
505 |
|
|
506 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
507 |
|
|
508 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
509 |
|
|
510 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
511 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
512 |
|
(schemaTypeInfo): Implemented for XML DTD. |
513 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
514 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
515 |
|
of the newly created |Attr| node (if any) when attribute |
516 |
|
definition is available. |
517 |
|
(doctype, documentElement): Reimplemented with tests. |
518 |
|
|
519 |
|
* XMLParser.dis: Sets [attribute type] information |
520 |
|
to created |Attr| nodes. Normalize namespace URIs |
521 |
|
when such information are available (unlikely but legal). |
522 |
|
(_HexadecimalCharacterReference): Number to character |
523 |
|
convertion bug fixed. |
524 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
525 |
|
configuration parameter to XML DTD URI. |
526 |
|
|
527 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
528 |
|
|
529 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
530 |
|
attribute definition nodes. |
531 |
|
|
532 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
533 |
|
and another |UNKNOWN_ATTR| constant is introduced |
534 |
|
for consistency with XML Infoset. |
535 |
|
|
536 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
537 |
|
|
538 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
539 |
|
|
540 |
|
* XDoctype.dis: A bug in test code fixed. |
541 |
|
|
542 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
543 |
|
definition named node maps now can be dereferenced |
544 |
|
as if they are array or hash references. |
545 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
546 |
|
or attribute definitions. |
547 |
|
(length): Tests added. |
548 |
|
(NamedNodeMapArray): New classes. |
549 |
|
|
550 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
551 |
|
|
552 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
553 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
554 |
|
if the new node is already used for another definition. |
555 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
556 |
|
property name was incorrect. |
557 |
|
(elementTypes, attributeDefinitions): Checks to |
558 |
|
ensure the collection is empty added. |
559 |
|
|
560 |
|
* Tree.dis: Property name typos fixed. |
561 |
|
(setNamedItem, setAttributeNode): Don't return any node |
562 |
|
if it replace itself. |
563 |
|
(c:userDeterminedId): Missing definition added. |
564 |
|
|
565 |
|
* DOMXML.dis (Notation): Missing property specification |
566 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
567 |
|
|
568 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
569 |
|
|
570 |
|
* DOMCore.dis (Test): Missing argument added. |
571 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
572 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
573 |
|
error conditions were incorrect. |
574 |
|
|
575 |
|
* .cvsignore: Dummy files added. |
576 |
|
|
577 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
578 |
|
|
579 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
580 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
581 |
|
|
582 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
583 |
|
to avoid uninitialized value warning. |
584 |
|
|
585 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
586 |
|
classes (work in progress). |
587 |
|
|
588 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
589 |
|
|
590 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
591 |
|
|
592 |
|
* Tree.dis (getAttribute): Returns |null| if there |
593 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
594 |
|
with Web browser implementations. |
595 |
|
(getAttributeNS): It returned |null| if there |
596 |
|
is no attribute in any |For| unintentionally. It now |
597 |
|
returns an empty string in DOM levels less than or equals |
598 |
|
to three. |
599 |
|
|
600 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
601 |
|
uninitialized value or substring out of range. |
602 |
|
|
603 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
604 |
|
|
605 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
606 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
607 |
|
|
608 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
609 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
610 |
|
node to the document. |
611 |
|
(_ProcessingInstructionDTD): Appends a processing |
612 |
|
instruction node to the document type definition. |
613 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
614 |
|
|
615 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
616 |
|
|
617 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
618 |
|
code (seprated from |InputProcessor|). Now |
619 |
|
a |features| parameter's version can be specified by |
620 |
|
an array reference that contains a set of version |
621 |
|
numbers. A test added. |
622 |
|
|
623 |
|
* XMLParser.dis: A test added. |
624 |
|
|
625 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
626 |
|
|
627 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
628 |
|
because it does not work with dummy object used in the test code. |
629 |
|
|
630 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
631 |
|
|
632 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
633 |
|
namespace URI is defined for not being warned. |
634 |
|
|
635 |
|
* XDoctype.dis: New module. |
636 |
|
|
637 |
|
* DOMCore.dis (DOMStringList): Test added. |
638 |
|
|
639 |
|
* Makefile: |XDoctype.pm| added. |
640 |
|
|
641 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
642 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
643 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
644 |
|
object (it was incorrectly tested to return |null|). |
645 |
|
(EmptyNodeList.DESTROY): Removed. |
646 |
|
|
647 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
648 |
|
|
649 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
650 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
651 |
|
(appendChild, insertBefore, replaceChild): New |
652 |
|
two node types added and processing instruction nodes |
653 |
|
as document type definition node child is allowed |
654 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
655 |
|
(getNodeReference): New |interface| parameter |
656 |
|
to filter classes by interface is added. |
657 |
|
(ElementTypeDefinitionRole): New role. |
658 |
|
(AttributeDefinitionRole): New role. |
659 |
|
|
660 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
661 |
|
|
662 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
663 |
|
|
664 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
665 |
|
|
666 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
667 |
|
if it is not provided. |
668 |
|
|
669 |
|
* XMLParser.dis: Parsing methods to skip document |
670 |
|
type declaration is added. |
671 |
|
|
672 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
673 |
|
|
674 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
675 |
|
or not. Normalize end-of-lines. |
676 |
|
(rule _XMLDeclaration_): Implemented. |
677 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
678 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
679 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
680 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
681 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
682 |
|
|wf-legal-character| added. |
683 |
|
(%character-code-point): New formatter rule. |
684 |
|
|
685 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
686 |
|
|
687 |
|
* DOMCore.dis (DOMError.stringify): Added. |
688 |
|
(error-handler.default): Returns |false| (don't continue) |
689 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
690 |
|
|
691 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
692 |
|
|
693 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
694 |
|
(|lexmode|s): New |?default-token| statements are used |
695 |
|
so that tokenizer description has been simplified |
696 |
|
and CDATA sections now can be parsed. |
697 |
|
|
698 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
699 |
|
|
700 |
|
* XMLParser.dis: Some modifications made. |
701 |
|
|
702 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
703 |
|
|
704 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
705 |
|
global named resource. |
706 |
|
|
707 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
708 |
|
|
709 |
|
* XMLParser.dis: New file. |
710 |
|
|
711 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
712 |
|
|
713 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
714 |
|
message formatter can now vary by error types. |
715 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
716 |
|
|
717 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
718 |
|
|
719 |
|
* DOMCore.dis (DOMLocator): Implemented. |
720 |
|
|
721 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
722 |
|
|
723 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
724 |
|
domConfigurationParameter): New resources. |
725 |
|
|
726 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
727 |
|
|
728 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
729 |
|
New methods. |
730 |
|
|
731 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
732 |
|
|
733 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
734 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
735 |
|
|
736 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
737 |
|
it is a |DOMCore:DOMError| object. |
738 |
|
|
739 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
740 |
|
|
741 |
|
* DOMCore.dis (severity, type): Getters return value from |
742 |
|
the definition of the current error (i.e. |-def| hash). |
743 |
|
(___error_def): New method. |
744 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
745 |
|
to ease natural reference to constant value. |
746 |
|
(error-handler.default): Prints the error message by |warn|. |
747 |
|
|
748 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
749 |
|
warns as setting has no effect. |
750 |
|
(___report_error): New method. (It had been only implemented |
751 |
|
in superclass.) |
752 |
|
(setting-node-value-no-effect): New error type. |
753 |
|
|
754 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
755 |
|
|
756 |
|
* DOMCore.dis: Error codes added. |
757 |
|
|
758 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
759 |
|
|
760 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
761 |
|
|
762 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
763 |
|
(adoptNode): User data handlers implemented. |
764 |
|
|
765 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
766 |
|
|
767 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
768 |
|
added. |
769 |
|
|
770 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
771 |
|
(getUserData, setUserData): Implemented. |
772 |
|
|
773 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
774 |
|
|
775 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
776 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
777 |
|
|
778 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
779 |
|
changed to |Tree.dis|. |
780 |
|
|
781 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
782 |
|
|
783 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
784 |
|
|
785 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
786 |
|
|
787 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
788 |
|
|
789 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
790 |
|
|
791 |
|
* Makefile: |Tree.dis| added. |
792 |
|
|
793 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
794 |
|
|
795 |
|
* .cvsignore: Revised. |
796 |
|
|
797 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
798 |
|
|
799 |
|
* ManakaiDOMLS2003.dis: Tests added. |
800 |
|
(domConfig): Method name in the code fixed to |flag|. |
801 |
|
|
802 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
803 |
|
added. |
804 |
|
|
805 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
806 |
|
is defined not to have any children. |
807 |
|
(CharacterData): Typos in element type names and function names fixed. |
808 |
|
|
809 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
810 |
|
|
811 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
812 |
|
|
813 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
814 |
|
|
815 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
816 |
|
|
817 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
818 |
|
|
819 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
820 |
|
characters between feature names and versions. |
821 |
|
|
822 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
823 |
|
|
824 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
825 |
|
|
826 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
827 |
|
|
828 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
829 |
|
when an |false| value appears in |@src|. |
830 |
|
|
831 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
832 |
|
|
833 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
834 |
|
(ErrDef): Redefined. |
835 |
|
|
836 |
|
* DOMLS.dis (ErrDef): Redefined. |
837 |
|
|
838 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
839 |
|
|
840 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
841 |
|
|
842 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
843 |
|
|
844 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
845 |
|
(CParam): Definitions for LS module added. |
846 |
|
|
847 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
848 |
|
is also an output processor now. |
849 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
850 |
|
(CParam): Definitions updated. |
851 |
|
|
852 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
853 |
|
|
854 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
855 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
856 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
857 |
|
(DOMConfiguration): Implemented. |
858 |
|
(CParam): Definitions updated. |
859 |
|
|
860 |
|
* DOMMain.dis (DOMURIs): New data type. |
861 |
|
|
862 |
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
863 |
|
|
864 |
* DOMCore.dis (setAttrValueNS): New code. |
* DOMCore.dis (setAttrValueNS): New code. |