1 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
4 |
|
method. |
5 |
|
|
6 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
7 |
|
|
8 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
11 |
|
|
12 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
13 |
|
implementations are added. |
14 |
|
|
15 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
16 |
|
implementations are added. |
17 |
|
|
18 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
19 |
|
implementations are added. |
20 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
21 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
22 |
|
(cfg:strict-document-children): New configuration parameter. |
23 |
|
|
24 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
27 |
|
|
28 |
|
* Tree.dis (replaceChild): Method implementations are added. |
29 |
|
|
30 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
31 |
|
|
32 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
35 |
|
definitions. |
36 |
|
|
37 |
|
* XDoctype.dis (insertBefore): New method implementation. |
38 |
|
|
39 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* DOMXML.dis (insertBefore): Method implementations |
42 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
43 |
|
|
44 |
|
* Tree.dis (insertBefore): Method implementation |
45 |
|
for |CharacterData| nodes is added. |
46 |
|
|
47 |
|
* XDoctype.dis (insertBefore): Method implementation |
48 |
|
for |ElementTypeDefinition| nodes is added. |
49 |
|
|
50 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* XDoctype.dis (appendChild): New method implementation. |
53 |
|
|
54 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
57 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
58 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
59 |
|
|
60 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
61 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
62 |
|
Notation.appendChild): New method implementation. |
63 |
|
|
64 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
65 |
|
|
66 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
67 |
|
|
68 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
71 |
|
|
72 |
|
* Tree.dis (createAttribute, createAttributeNS, |
73 |
|
setAttribute, setAttributeNS): They now supports |
74 |
|
the |cfg:xml-id| configuration parameter. |
75 |
|
(cfg:xml-id): New configuration parameter. |
76 |
|
|
77 |
|
* XDoctype.dis (createAttributeDefinition): It now |
78 |
|
supports the |cfg:xml-id| configuration parameter. |
79 |
|
|
80 |
|
* XMLParser.dis (parse): It now supports |
81 |
|
the |cfg:xml-id| configuration parameter. |
82 |
|
|
83 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
86 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
87 |
|
document created. |
88 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
89 |
|
property of the created node. |
90 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
91 |
|
of the created node. |
92 |
|
(ls-input-to-input-file.default): Sets the resolved |
93 |
|
system identifier to the |documentURI| attribute if available. |
94 |
|
Sets the |baseURI| attribute if available. |
95 |
|
|
96 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
99 |
|
(Node.baseURI): New attribute implementations. |
100 |
|
(declarationBaseURI): Setter is added. |
101 |
|
(manakaiDeclarationBaseURI): New attribute. |
102 |
|
|
103 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
104 |
|
module is added. |
105 |
|
(Node.baseURI): The implementation is revised. |
106 |
|
(getNodeReference): Attribute node classes specialized |
107 |
|
to attribute names are supported. |
108 |
|
(contentBaseURI, htmlBaseURI): Removed. |
109 |
|
(manakaiEntityBaseURI): New attribute. |
110 |
|
(ManakaiDOMImplementationDocument): It now inherits |
111 |
|
the |urigen:URIImplementation| class. |
112 |
|
|
113 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
114 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
115 |
|
one. |
116 |
|
|
117 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
118 |
|
module is added. |
119 |
|
(DocumentType.implementation): New attribute. |
120 |
|
(Node.baseURI): Implementations are added. |
121 |
|
(manakaiDeclarationBaseURI): New attributes. |
122 |
|
(manakaiEntityBaseURI): New attributes. |
123 |
|
(manakaiEntityURI): New attribute. |
124 |
|
(manakaiExternal): New attribute. |
125 |
|
(manakaiBaseURI): New attribute. |
126 |
|
(ManakaiDOMXMLBaseAttr): New class. |
127 |
|
|
128 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
131 |
|
module was missing. |
132 |
|
|
133 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
134 |
|
|
135 |
|
* Makefile (distclean): New rule. |
136 |
|
|
137 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* DOMLS.dis: Removed from the CVS repository, since |
140 |
|
it has been no longer required to make the |daf| system |
141 |
|
itself. |
142 |
|
|
143 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* Makefile: Revised for new |daf| database format. |
146 |
|
|
147 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
150 |
|
module is added. |
151 |
|
|
152 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
155 |
|
by mistake. |
156 |
|
|
157 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
160 |
|
feature. |
161 |
|
|
162 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
163 |
|
|
164 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
165 |
|
(DOMImplementationLS.createLSParser): Implemented. |
166 |
|
(DOMImplementationLS.createLSInput): Revised. |
167 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
168 |
|
|
169 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
170 |
|
|
171 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
174 |
|
is introduced. |
175 |
|
(async, busy): Implemented. |
176 |
|
(parseString): Removed. |
177 |
|
(parse, parseURI): Implemented. |
178 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
179 |
|
(shiftChar): Gets character from current file handle |
180 |
|
rather than replacement text. Don't normalize |
181 |
|
line break characters for internal entities. Don't |
182 |
|
throw |xp:wf-legal-literal-character| error |
183 |
|
for |RestrictedChar| appearing in internal entities. |
184 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
185 |
|
(_EntityDeclaration): Copy document URI and base URI |
186 |
|
to the entity's |$decl| object. |
187 |
|
(ParseError): New code fragment. |
188 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
189 |
|
text. |
190 |
|
(xp-error-lines): Don't appends text if no replacement |
191 |
|
text is available. |
192 |
|
(error-handler): New configuration parameter application resource. |
193 |
|
(ManakaiDOMLSInputToInputFile): New class. |
194 |
|
(ManakaiDOMInputFile): New class. |
195 |
|
|
196 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
197 |
|
|
198 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
199 |
|
|
200 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
203 |
|
(parseString): Don't output |Document| warnings |
204 |
|
during tree construction to standard error output. |
205 |
|
|
206 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
209 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
210 |
|
error detection is implemented. Generates |Notation| nodes |
211 |
|
from notation declarations. |
212 |
|
(checkNCName, checkQName): New code fragments. |
213 |
|
|
214 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
215 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
216 |
|
is |false|. |
217 |
|
|
218 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
219 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
220 |
|
|
221 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
222 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
223 |
|
(Attr.specified): Setter added. |
224 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
225 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
226 |
|
if |Document.strictErrorChecking| is |false|. |
227 |
|
|
228 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
230 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
231 |
|
attribute of the |Document| node. Don't process entity |
232 |
|
and attribute definition list declarations after |
233 |
|
unread parameter entity reference. Warns if an attribute definition is |
234 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
235 |
|
flags whether predefined entities are declared or not. |
236 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
237 |
|
|
238 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
241 |
|
if a predefined entity declaration references an external entity. |
242 |
|
Issues |xp:error-malformed-predefined-entity| error if |
243 |
|
a predefined entity declaration defines different thing than |
244 |
|
one as in XML specification. |
245 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
246 |
|
more than one entity declarations for an entity is found. |
247 |
|
(WFErrDef): Now all well-formedness errors are marked |
248 |
|
as |SEVERITY_FATAL_ERROR|. |
249 |
|
|
250 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
251 |
|
predefined entity declarations. |
252 |
|
(DocumentXDoctype.createNotation): New method. |
253 |
|
(DocumentTypeDefinition.notations): New attribute. |
254 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
255 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
256 |
|
(newNotationForTest): New code fragment. |
257 |
|
|
258 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
259 |
|
(c:ManakaiDOMNotationMap): New class. |
260 |
|
(c:ManakaiDOMNotationMapArray): New class. |
261 |
|
(Document.allDeclarationsProcessed): New attribute. |
262 |
|
|
263 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
264 |
|
(Notation): Revised. |
265 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
266 |
|
|
267 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
270 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
271 |
|
if a parameter entity declaration contains |NDATA| keyword. |
272 |
|
(setEmptyEntityState): Set |name| attribute. |
273 |
|
|
274 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
275 |
|
loop even if entity replacement tree contains recursive |
276 |
|
reference directly or indirectly. |
277 |
|
|
278 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
281 |
|
WFC error is implemented. |
282 |
|
|
283 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
286 |
|
configuration parameter |true| during tree construction |
287 |
|
to ensure default attribute value is cloned as is |
288 |
|
including entity reference subtree. |
289 |
|
|
290 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
291 |
|
parameter. |
292 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
293 |
|
configuration parameter support is added. |
294 |
|
|
295 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
298 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
299 |
|
content before constructing |Entity| replacement tree. |
300 |
|
The |xp:wf-entity-declared| well-formedness constraint |
301 |
|
for entity references in attribute value literal is implemented. |
302 |
|
|
303 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
306 |
|
constaraint for entity references that appear in |
307 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
308 |
|
attribute. |
309 |
|
(getEmptyEntityState): New code. |
310 |
|
|
311 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
312 |
|
definition is removed. |
313 |
|
|
314 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
315 |
|
(EntityReference.isExpanded): Setter is added. |
316 |
|
|
317 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
320 |
|
and |xp:wf-no-external-entity-references| well-formedness |
321 |
|
constraints are implemented. |
322 |
|
|
323 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
326 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
327 |
|
errors (including well-formedness constraint errors) are |
328 |
|
traped by the error handler. |
329 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
330 |
|
attribute of the node. Reports an error if |publidLiteral| |
331 |
|
contains a non-|pubidChar|. |
332 |
|
|
333 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
334 |
|
version |3.0|). |
335 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
336 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
337 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
338 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
339 |
|
interface (except unimplemented |notations| and |internalSubset| |
340 |
|
attributes). |
341 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
342 |
|
for compatibility with |x:DocumentType| interface. |
343 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
344 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
345 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
346 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
347 |
|
(DocumentTypeDeclaration): New interface. |
348 |
|
|
349 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
350 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
351 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
352 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
353 |
|
instead of obsolete |DocumentType.newObject|. |
354 |
|
|
355 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
356 |
|
DocumentType.publicId, DocumentType.systemId, |
357 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
358 |
|
as clones of similar attributes or methods |
359 |
|
in |MDOM:XDoctype| module. |
360 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
361 |
|
instead). |
362 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
363 |
|
is used). |
364 |
|
|
365 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
368 |
|
fatal error. |
369 |
|
|
370 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
372 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
373 |
|
defined as a |?default-token|. |
374 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
375 |
|
comment declarations, cdata sections, and |MSE| in |content| |
376 |
|
added. |
377 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
378 |
|
(get-location-from-token): |$token->{location_d}| |
379 |
|
for |?default-token| column counting support added. |
380 |
|
|
381 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
382 |
|
|
383 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
384 |
|
|
385 |
|
* Tree.dis (createProcessingInstruction): Don't |
386 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
387 |
|
is |false|. |
388 |
|
|
389 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
390 |
|
It enables improved error position report. |
391 |
|
(XDO): It now includes |S+| following target name |xml| as |
392 |
|
part of the token. (PI with target starting with |xml| |
393 |
|
was unable to be placed at the beginning of the document entity.) |
394 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
395 |
|
a processing instruction node with |#INVALID| node name |
396 |
|
if target name is not given and recovered from the error. |
397 |
|
(S): Variable |$s| added. |
398 |
|
(XMLTests): Tests for XML declarations and processing |
399 |
|
instructions are added. Prints error type name if unexpected |
400 |
|
error with severity of error or fatal error has been reported. |
401 |
|
Catch unexpected exceptions thrown in parser (different |
402 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
403 |
|
for the ease of testing. |
404 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
405 |
|
stack into acount. |
406 |
|
|
407 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
409 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
410 |
|
is fixed. Although the DOM Level 3 Core specification |
411 |
|
is unclear about whether the first number is zero or one, |
412 |
|
in most programs the first line is "one" and |
413 |
|
the first column is "one", manakai follows the practice. |
414 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
415 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
416 |
|
tests (successful cases) added. |
417 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
418 |
|
properties. |
419 |
|
|
420 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
421 |
|
|
422 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
423 |
|
|
424 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
425 |
|
|
426 |
|
* DOMCore.dis (c:erred): New property. |
427 |
|
(c:DOMErrorType): It should have been a subset |
428 |
|
of |ecore:AnyErrorCode|. |
429 |
|
|
430 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
431 |
|
|
432 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
433 |
|
|
434 |
|
* XDoctype.dis (d:Feature): New canonical feature |
435 |
|
name |fe:XDoctype| is added. |
436 |
|
|
437 |
|
* XMLParser.dis: Predefined general entity references |
438 |
|
are implemented. Creates |Entity| nodes from general entities |
439 |
|
declared in internal subset. |Entity| nodes created from internal |
440 |
|
general parsed entities now have replacement tree. |
441 |
|
Sets |cfg:entity-reference-read-only| flag off during |
442 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
443 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
444 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
445 |
|
introduced. General entity references in attribute value literal |
446 |
|
are supported. |
447 |
|
|
448 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
449 |
|
|
450 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
451 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
452 |
|
(createEntityReference): Set |c:read-only| flag of |
453 |
|
the created entity reference, too. |
454 |
|
|
455 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
456 |
|
|
457 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
458 |
|
from |DOMFeature| module instead. Use |idl:Object| |
459 |
|
instead of |DOMMain:DOMObject| as well. |
460 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
461 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
462 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
463 |
|
respectively. |
464 |
|
|
465 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
466 |
|
It will be reimplemented using |DocumentTypeDefinition| |
467 |
|
class from |XDoctype| module. |
468 |
|
|
469 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
470 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
471 |
|
SimpleLS.dis: Cleaned up unused definitions. |
472 |
|
|
473 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
474 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
475 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
476 |
|
|
477 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
478 |
|
|
479 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
480 |
|
(feature.dae): Include |GenericLS| module. |
481 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
482 |
|
(ls.dae): Include |DOMLS| module. |
483 |
|
|
484 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
485 |
|
|
486 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
487 |
|
attribute are added. |
488 |
|
|
489 |
|
* XDoctype.dis (createGeneralEntity): New method. |
490 |
|
(generalEntities): New attribute. |
491 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
492 |
|
|
493 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
494 |
|
(ManakaiDOMEntityMap): New class. |
495 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
496 |
|
(createEntityReference): If there is a corresponding |Entity| |
497 |
|
node in the document type definition, then copies its |
498 |
|
subtree. |
499 |
|
|
500 |
|
* DOMXML.dis (Entity): Documentation updated. |
501 |
|
(publicId, systemId, notationName, xmlEncoding, |
502 |
|
xmlVersion): These attributes are now settable |
503 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
504 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
505 |
|
mode. |
506 |
|
(ownerDocumentTypeDefinition): New attribute |
507 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
508 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
509 |
|
|
510 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
511 |
|
|
512 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
513 |
|
|
514 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
515 |
|
|
516 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
517 |
|
(ManakaiDOMAttributes): Removed. |
518 |
|
(ManakaiDOMAttrMap): New class. |
519 |
|
(ManakaiDOMAttrMapArray): New class. |
520 |
|
(namespaceURI): Bug to return a string representation |
521 |
|
of a reference to the namespace URI string is fixed. |
522 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
523 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
524 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
525 |
|
if there is no attribute node. |
526 |
|
(createElement, createElementNS): DTD default attributes are supported. |
527 |
|
(setAttributeNode): Reimplemented. |
528 |
|
|
529 |
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
530 |
|
|
531 |
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |