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