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