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