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