1 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
4 |
|
|
5 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
8 |
|
(Text, DocumentFragment, Comment): Most members are |
9 |
|
reimplemented (untested). |
10 |
|
|
11 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
14 |
|
removed to sync with DOM Level 3 Core specification. |
15 |
|
|
16 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
17 |
|
(GetElementsNodeList): Reimplemented (untested). |
18 |
|
|
19 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
22 |
|
parameter must also affect on |manakaiAppendText| |
23 |
|
and |textContent| on |Document| nodes. |
24 |
|
|
25 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
26 |
|
parameter changes the class to |bless|. |
27 |
|
(Node): Most methods are reimplemented. (Untested) |
28 |
|
(CharacterData, Attr): Most methods and attributes are |
29 |
|
reimplemented. (Untested) |
30 |
|
|
31 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
32 |
|
reimplemented (untested). |
33 |
|
|
34 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
37 |
|
(untested). |
38 |
|
|
39 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
42 |
|
a qualified name. |
43 |
|
|
44 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
45 |
|
the prefix if it is an empty string. (Note that |
46 |
|
it is defined as implementation dependent in |
47 |
|
DOM Level 3 Core specification). |
48 |
|
|
49 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
50 |
|
module. |
51 |
|
(Node): Attributes are reimplemented (untested). |
52 |
|
|
53 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
54 |
|
module. |
55 |
|
(Node): Attributes are reimplemented (untested). |
56 |
|
(Entity, Notation): New interfaces. |
57 |
|
|
58 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
59 |
|
|
60 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
63 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
64 |
|
replaceChild, removeChild, createDocumentFragment, |
65 |
|
createEntityReference, createProcessingInstruction, |
66 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
67 |
|
(NodeList, DocumentFragment): New interfaces. |
68 |
|
|
69 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
70 |
|
|
71 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
74 |
|
(createAttributeNS, createTextNode, createComment, |
75 |
|
createCDATASection): New methods. |
76 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
77 |
|
|
78 |
|
* Makefile: |XML.dis| is added. |
79 |
|
|
80 |
|
* XML.dis: New module. |
81 |
|
|
82 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
85 |
|
|
86 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
89 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
90 |
|
(Element): New interface. |
91 |
|
(createElementNS): New method. |
92 |
|
(strictErrorChecking): New. |
93 |
|
|
94 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* Makefile: |TreeCore.dis| is added. |
97 |
|
|
98 |
|
* TreeCore.dis: New module. |
99 |
|
|
100 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
103 |
|
parameter. |
104 |
|
|
105 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
106 |
|
|
107 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
108 |
|
data types added to configuration parameters. |
109 |
|
|
110 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
113 |
|
a |DISSource:ResourceProperty|. |
114 |
|
(c:anyDOMConfigurationParameter): New property. |
115 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
116 |
|
the |c:anyDOMConfigurationParameter| property. |
117 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
118 |
|
|
119 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
120 |
|
|
121 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
124 |
|
are removed. |
125 |
|
|
126 |
|
* GenericLS.pm: Added to the CVS repository since |
127 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
128 |
|
|
129 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
132 |
|
method. |
133 |
|
|
134 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
135 |
|
|
136 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
139 |
|
|
140 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
141 |
|
implementations are added. |
142 |
|
|
143 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
144 |
|
implementations are added. |
145 |
|
|
146 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
147 |
|
implementations are added. |
148 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
149 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
150 |
|
(cfg:strict-document-children): New configuration parameter. |
151 |
|
|
152 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
155 |
|
|
156 |
|
* Tree.dis (replaceChild): Method implementations are added. |
157 |
|
|
158 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
159 |
|
|
160 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
163 |
|
definitions. |
164 |
|
|
165 |
|
* XDoctype.dis (insertBefore): New method implementation. |
166 |
|
|
167 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* DOMXML.dis (insertBefore): Method implementations |
170 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
171 |
|
|
172 |
|
* Tree.dis (insertBefore): Method implementation |
173 |
|
for |CharacterData| nodes is added. |
174 |
|
|
175 |
|
* XDoctype.dis (insertBefore): Method implementation |
176 |
|
for |ElementTypeDefinition| nodes is added. |
177 |
|
|
178 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* XDoctype.dis (appendChild): New method implementation. |
181 |
|
|
182 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
185 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
186 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
187 |
|
|
188 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
189 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
190 |
|
Notation.appendChild): New method implementation. |
191 |
|
|
192 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
193 |
|
|
194 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
195 |
|
|
196 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
199 |
|
|
200 |
|
* Tree.dis (createAttribute, createAttributeNS, |
201 |
|
setAttribute, setAttributeNS): They now supports |
202 |
|
the |cfg:xml-id| configuration parameter. |
203 |
|
(cfg:xml-id): New configuration parameter. |
204 |
|
|
205 |
|
* XDoctype.dis (createAttributeDefinition): It now |
206 |
|
supports the |cfg:xml-id| configuration parameter. |
207 |
|
|
208 |
|
* XMLParser.dis (parse): It now supports |
209 |
|
the |cfg:xml-id| configuration parameter. |
210 |
|
|
211 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
214 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
215 |
|
document created. |
216 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
217 |
|
property of the created node. |
218 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
219 |
|
of the created node. |
220 |
|
(ls-input-to-input-file.default): Sets the resolved |
221 |
|
system identifier to the |documentURI| attribute if available. |
222 |
|
Sets the |baseURI| attribute if available. |
223 |
|
|
224 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
227 |
|
(Node.baseURI): New attribute implementations. |
228 |
|
(declarationBaseURI): Setter is added. |
229 |
|
(manakaiDeclarationBaseURI): New attribute. |
230 |
|
|
231 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
232 |
|
module is added. |
233 |
|
(Node.baseURI): The implementation is revised. |
234 |
|
(getNodeReference): Attribute node classes specialized |
235 |
|
to attribute names are supported. |
236 |
|
(contentBaseURI, htmlBaseURI): Removed. |
237 |
|
(manakaiEntityBaseURI): New attribute. |
238 |
|
(ManakaiDOMImplementationDocument): It now inherits |
239 |
|
the |urigen:URIImplementation| class. |
240 |
|
|
241 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
242 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
243 |
|
one. |
244 |
|
|
245 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
246 |
|
module is added. |
247 |
|
(DocumentType.implementation): New attribute. |
248 |
|
(Node.baseURI): Implementations are added. |
249 |
|
(manakaiDeclarationBaseURI): New attributes. |
250 |
|
(manakaiEntityBaseURI): New attributes. |
251 |
|
(manakaiEntityURI): New attribute. |
252 |
|
(manakaiExternal): New attribute. |
253 |
|
(manakaiBaseURI): New attribute. |
254 |
|
(ManakaiDOMXMLBaseAttr): New class. |
255 |
|
|
256 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
259 |
|
module was missing. |
260 |
|
|
261 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
262 |
|
|
263 |
|
* Makefile (distclean): New rule. |
264 |
|
|
265 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* DOMLS.dis: Removed from the CVS repository, since |
268 |
|
it has been no longer required to make the |daf| system |
269 |
|
itself. |
270 |
|
|
271 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* Makefile: Revised for new |daf| database format. |
274 |
|
|
275 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
278 |
|
module is added. |
279 |
|
|
280 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
283 |
|
by mistake. |
284 |
|
|
285 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
286 |
|
|
287 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
288 |
|
feature. |
289 |
|
|
290 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
291 |
|
|
292 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
293 |
|
(DOMImplementationLS.createLSParser): Implemented. |
294 |
|
(DOMImplementationLS.createLSInput): Revised. |
295 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
296 |
|
|
297 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
298 |
|
|
299 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
302 |
|
is introduced. |
303 |
|
(async, busy): Implemented. |
304 |
|
(parseString): Removed. |
305 |
|
(parse, parseURI): Implemented. |
306 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
307 |
|
(shiftChar): Gets character from current file handle |
308 |
|
rather than replacement text. Don't normalize |
309 |
|
line break characters for internal entities. Don't |
310 |
|
throw |xp:wf-legal-literal-character| error |
311 |
|
for |RestrictedChar| appearing in internal entities. |
312 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
313 |
|
(_EntityDeclaration): Copy document URI and base URI |
314 |
|
to the entity's |$decl| object. |
315 |
|
(ParseError): New code fragment. |
316 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
317 |
|
text. |
318 |
|
(xp-error-lines): Don't appends text if no replacement |
319 |
|
text is available. |
320 |
|
(error-handler): New configuration parameter application resource. |
321 |
|
(ManakaiDOMLSInputToInputFile): New class. |
322 |
|
(ManakaiDOMInputFile): New class. |
323 |
|
|
324 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
325 |
|
|
326 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
327 |
|
|
328 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
331 |
|
(parseString): Don't output |Document| warnings |
332 |
|
during tree construction to standard error output. |
333 |
|
|
334 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
337 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
338 |
|
error detection is implemented. Generates |Notation| nodes |
339 |
|
from notation declarations. |
340 |
|
(checkNCName, checkQName): New code fragments. |
341 |
|
|
342 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
343 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
344 |
|
is |false|. |
345 |
|
|
346 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
347 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
348 |
|
|
349 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
350 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
351 |
|
(Attr.specified): Setter added. |
352 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
353 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
354 |
|
if |Document.strictErrorChecking| is |false|. |
355 |
|
|
356 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
357 |
|
|
358 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
359 |
|
attribute of the |Document| node. Don't process entity |
360 |
|
and attribute definition list declarations after |
361 |
|
unread parameter entity reference. Warns if an attribute definition is |
362 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
363 |
|
flags whether predefined entities are declared or not. |
364 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
365 |
|
|
366 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
367 |
|
|
368 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
369 |
|
if a predefined entity declaration references an external entity. |
370 |
|
Issues |xp:error-malformed-predefined-entity| error if |
371 |
|
a predefined entity declaration defines different thing than |
372 |
|
one as in XML specification. |
373 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
374 |
|
more than one entity declarations for an entity is found. |
375 |
|
(WFErrDef): Now all well-formedness errors are marked |
376 |
|
as |SEVERITY_FATAL_ERROR|. |
377 |
|
|
378 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
379 |
|
predefined entity declarations. |
380 |
|
(DocumentXDoctype.createNotation): New method. |
381 |
|
(DocumentTypeDefinition.notations): New attribute. |
382 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
383 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
384 |
|
(newNotationForTest): New code fragment. |
385 |
|
|
386 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
387 |
|
(c:ManakaiDOMNotationMap): New class. |
388 |
|
(c:ManakaiDOMNotationMapArray): New class. |
389 |
|
(Document.allDeclarationsProcessed): New attribute. |
390 |
|
|
391 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
392 |
|
(Notation): Revised. |
393 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
394 |
|
|
395 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
396 |
|
|
397 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
398 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
399 |
|
if a parameter entity declaration contains |NDATA| keyword. |
400 |
|
(setEmptyEntityState): Set |name| attribute. |
401 |
|
|
402 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
403 |
|
loop even if entity replacement tree contains recursive |
404 |
|
reference directly or indirectly. |
405 |
|
|
406 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
409 |
|
WFC error is implemented. |
410 |
|
|
411 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
412 |
|
|
413 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
414 |
|
configuration parameter |true| during tree construction |
415 |
|
to ensure default attribute value is cloned as is |
416 |
|
including entity reference subtree. |
417 |
|
|
418 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
419 |
|
parameter. |
420 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
421 |
|
configuration parameter support is added. |
422 |
|
|
423 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
424 |
|
|
425 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
426 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
427 |
|
content before constructing |Entity| replacement tree. |
428 |
|
The |xp:wf-entity-declared| well-formedness constraint |
429 |
|
for entity references in attribute value literal is implemented. |
430 |
|
|
431 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
432 |
|
|
433 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
434 |
|
constaraint for entity references that appear in |
435 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
436 |
|
attribute. |
437 |
|
(getEmptyEntityState): New code. |
438 |
|
|
439 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
440 |
|
definition is removed. |
441 |
|
|
442 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
443 |
|
(EntityReference.isExpanded): Setter is added. |
444 |
|
|
445 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
448 |
|
and |xp:wf-no-external-entity-references| well-formedness |
449 |
|
constraints are implemented. |
450 |
|
|
451 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
452 |
|
|
453 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
454 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
455 |
|
errors (including well-formedness constraint errors) are |
456 |
|
traped by the error handler. |
457 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
458 |
|
attribute of the node. Reports an error if |publidLiteral| |
459 |
|
contains a non-|pubidChar|. |
460 |
|
|
461 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
462 |
|
version |3.0|). |
463 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
464 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
465 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
466 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
467 |
|
interface (except unimplemented |notations| and |internalSubset| |
468 |
|
attributes). |
469 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
470 |
|
for compatibility with |x:DocumentType| interface. |
471 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
472 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
473 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
474 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
475 |
|
(DocumentTypeDeclaration): New interface. |
476 |
|
|
477 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
478 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
479 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
480 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
481 |
|
instead of obsolete |DocumentType.newObject|. |
482 |
|
|
483 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
484 |
|
DocumentType.publicId, DocumentType.systemId, |
485 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
486 |
|
as clones of similar attributes or methods |
487 |
|
in |MDOM:XDoctype| module. |
488 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
489 |
|
instead). |
490 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
491 |
|
is used). |
492 |
|
|
493 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
494 |
|
|
495 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
496 |
|
fatal error. |
497 |
|
|
498 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
499 |
|
|
500 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
501 |
|
defined as a |?default-token|. |
502 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
503 |
|
comment declarations, cdata sections, and |MSE| in |content| |
504 |
|
added. |
505 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
506 |
|
(get-location-from-token): |$token->{location_d}| |
507 |
|
for |?default-token| column counting support added. |
508 |
|
|
509 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
510 |
|
|
511 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
512 |
|
|
513 |
|
* Tree.dis (createProcessingInstruction): Don't |
514 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
515 |
|
is |false|. |
516 |
|
|
517 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
518 |
|
It enables improved error position report. |
519 |
|
(XDO): It now includes |S+| following target name |xml| as |
520 |
|
part of the token. (PI with target starting with |xml| |
521 |
|
was unable to be placed at the beginning of the document entity.) |
522 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
523 |
|
a processing instruction node with |#INVALID| node name |
524 |
|
if target name is not given and recovered from the error. |
525 |
|
(S): Variable |$s| added. |
526 |
|
(XMLTests): Tests for XML declarations and processing |
527 |
|
instructions are added. Prints error type name if unexpected |
528 |
|
error with severity of error or fatal error has been reported. |
529 |
|
Catch unexpected exceptions thrown in parser (different |
530 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
531 |
|
for the ease of testing. |
532 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
533 |
|
stack into acount. |
534 |
|
|
535 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
536 |
|
|
537 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
538 |
|
is fixed. Although the DOM Level 3 Core specification |
539 |
|
is unclear about whether the first number is zero or one, |
540 |
|
in most programs the first line is "one" and |
541 |
|
the first column is "one", manakai follows the practice. |
542 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
543 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
544 |
|
tests (successful cases) added. |
545 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
546 |
|
properties. |
547 |
|
|
548 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
549 |
|
|
550 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
551 |
|
|
552 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
553 |
|
|
554 |
|
* DOMCore.dis (c:erred): New property. |
555 |
|
(c:DOMErrorType): It should have been a subset |
556 |
|
of |ecore:AnyErrorCode|. |
557 |
|
|
558 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
559 |
|
|
560 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
561 |
|
|
562 |
|
* XDoctype.dis (d:Feature): New canonical feature |
563 |
|
name |fe:XDoctype| is added. |
564 |
|
|
565 |
|
* XMLParser.dis: Predefined general entity references |
566 |
|
are implemented. Creates |Entity| nodes from general entities |
567 |
|
declared in internal subset. |Entity| nodes created from internal |
568 |
|
general parsed entities now have replacement tree. |
569 |
|
Sets |cfg:entity-reference-read-only| flag off during |
570 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
571 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
572 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
573 |
|
introduced. General entity references in attribute value literal |
574 |
|
are supported. |
575 |
|
|
576 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
577 |
|
|
578 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
579 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
580 |
|
(createEntityReference): Set |c:read-only| flag of |
581 |
|
the created entity reference, too. |
582 |
|
|
583 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
584 |
|
|
585 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
586 |
|
from |DOMFeature| module instead. Use |idl:Object| |
587 |
|
instead of |DOMMain:DOMObject| as well. |
588 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
589 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
590 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
591 |
|
respectively. |
592 |
|
|
593 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
594 |
|
It will be reimplemented using |DocumentTypeDefinition| |
595 |
|
class from |XDoctype| module. |
596 |
|
|
597 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
598 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
599 |
|
SimpleLS.dis: Cleaned up unused definitions. |
600 |
|
|
601 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
602 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
603 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
604 |
|
|
605 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
606 |
|
|
607 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
608 |
|
(feature.dae): Include |GenericLS| module. |
609 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
610 |
|
(ls.dae): Include |DOMLS| module. |
611 |
|
|
612 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
613 |
|
|
614 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
615 |
|
attribute are added. |
616 |
|
|
617 |
|
* XDoctype.dis (createGeneralEntity): New method. |
618 |
|
(generalEntities): New attribute. |
619 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
620 |
|
|
621 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
622 |
|
(ManakaiDOMEntityMap): New class. |
623 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
624 |
|
(createEntityReference): If there is a corresponding |Entity| |
625 |
|
node in the document type definition, then copies its |
626 |
|
subtree. |
627 |
|
|
628 |
|
* DOMXML.dis (Entity): Documentation updated. |
629 |
|
(publicId, systemId, notationName, xmlEncoding, |
630 |
|
xmlVersion): These attributes are now settable |
631 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
632 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
633 |
|
mode. |
634 |
|
(ownerDocumentTypeDefinition): New attribute |
635 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
636 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
637 |
|
|
638 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
639 |
|
|
640 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
641 |
|
|
642 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
643 |
|
|
644 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
645 |
|
(ManakaiDOMAttributes): Removed. |
646 |
|
(ManakaiDOMAttrMap): New class. |
647 |
|
(ManakaiDOMAttrMapArray): New class. |
648 |
|
(namespaceURI): Bug to return a string representation |
649 |
|
of a reference to the namespace URI string is fixed. |
650 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
651 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
652 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
653 |
|
if there is no attribute node. |
654 |
|
(createElement, createElementNS): DTD default attributes are supported. |
655 |
|
(setAttributeNode): Reimplemented. |
656 |
|
|
657 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
658 |
|
|
659 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
660 |
|
|
661 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
662 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
663 |
|
(schemaTypeInfo): Implemented for XML DTD. |
664 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
665 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
666 |
|
of the newly created |Attr| node (if any) when attribute |
667 |
|
definition is available. |
668 |
|
(doctype, documentElement): Reimplemented with tests. |
669 |
|
|
670 |
|
* XMLParser.dis: Sets [attribute type] information |
671 |
|
to created |Attr| nodes. Normalize namespace URIs |
672 |
|
when such information are available (unlikely but legal). |
673 |
|
(_HexadecimalCharacterReference): Number to character |
674 |
|
convertion bug fixed. |
675 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
676 |
|
configuration parameter to XML DTD URI. |
677 |
|
|
678 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
679 |
|
|
680 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
681 |
|
attribute definition nodes. |
682 |
|
|
683 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
684 |
|
and another |UNKNOWN_ATTR| constant is introduced |
685 |
|
for consistency with XML Infoset. |
686 |
|
|
687 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
688 |
|
|
689 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
690 |
|
|
691 |
|
* XDoctype.dis: A bug in test code fixed. |
692 |
|
|
693 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
694 |
|
definition named node maps now can be dereferenced |
695 |
|
as if they are array or hash references. |
696 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
697 |
|
or attribute definitions. |
698 |
|
(length): Tests added. |
699 |
|
(NamedNodeMapArray): New classes. |
700 |
|
|
701 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
702 |
|
|
703 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
704 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
705 |
|
if the new node is already used for another definition. |
706 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
707 |
|
property name was incorrect. |
708 |
|
(elementTypes, attributeDefinitions): Checks to |
709 |
|
ensure the collection is empty added. |
710 |
|
|
711 |
|
* Tree.dis: Property name typos fixed. |
712 |
|
(setNamedItem, setAttributeNode): Don't return any node |
713 |
|
if it replace itself. |
714 |
|
(c:userDeterminedId): Missing definition added. |
715 |
|
|
716 |
|
* DOMXML.dis (Notation): Missing property specification |
717 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
718 |
|
|
719 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
720 |
|
|
721 |
|
* DOMCore.dis (Test): Missing argument added. |
722 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
723 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
724 |
|
error conditions were incorrect. |
725 |
|
|
726 |
|
* .cvsignore: Dummy files added. |
727 |
|
|
728 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
729 |
|
|
730 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
731 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
732 |
|
|
733 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
734 |
|
to avoid uninitialized value warning. |
735 |
|
|
736 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
737 |
|
classes (work in progress). |
738 |
|
|
739 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
740 |
|
|
741 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
742 |
|
|
743 |
|
* Tree.dis (getAttribute): Returns |null| if there |
744 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
745 |
|
with Web browser implementations. |
746 |
|
(getAttributeNS): It returned |null| if there |
747 |
|
is no attribute in any |For| unintentionally. It now |
748 |
|
returns an empty string in DOM levels less than or equals |
749 |
|
to three. |
750 |
|
|
751 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
752 |
|
uninitialized value or substring out of range. |
753 |
|
|
754 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
755 |
|
|
756 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
757 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
758 |
|
|
759 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
760 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
761 |
|
node to the document. |
762 |
|
(_ProcessingInstructionDTD): Appends a processing |
763 |
|
instruction node to the document type definition. |
764 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
765 |
|
|
766 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
767 |
|
|
768 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
769 |
|
code (seprated from |InputProcessor|). Now |
770 |
|
a |features| parameter's version can be specified by |
771 |
|
an array reference that contains a set of version |
772 |
|
numbers. A test added. |
773 |
|
|
774 |
|
* XMLParser.dis: A test added. |
775 |
|
|
776 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
777 |
|
|
778 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
779 |
|
because it does not work with dummy object used in the test code. |
780 |
|
|
781 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
782 |
|
|
783 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
784 |
|
namespace URI is defined for not being warned. |
785 |
|
|
786 |
|
* XDoctype.dis: New module. |
787 |
|
|
788 |
|
* DOMCore.dis (DOMStringList): Test added. |
789 |
|
|
790 |
|
* Makefile: |XDoctype.pm| added. |
791 |
|
|
792 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
793 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
794 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
795 |
|
object (it was incorrectly tested to return |null|). |
796 |
|
(EmptyNodeList.DESTROY): Removed. |
797 |
|
|
798 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
799 |
|
|
800 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
801 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
802 |
|
(appendChild, insertBefore, replaceChild): New |
803 |
|
two node types added and processing instruction nodes |
804 |
|
as document type definition node child is allowed |
805 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
806 |
|
(getNodeReference): New |interface| parameter |
807 |
|
to filter classes by interface is added. |
808 |
|
(ElementTypeDefinitionRole): New role. |
809 |
|
(AttributeDefinitionRole): New role. |
810 |
|
|
811 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
812 |
|
|
813 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
814 |
|
|
815 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
816 |
|
|
817 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
818 |
|
if it is not provided. |
819 |
|
|
820 |
|
* XMLParser.dis: Parsing methods to skip document |
821 |
|
type declaration is added. |
822 |
|
|
823 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
824 |
|
|
825 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
826 |
|
or not. Normalize end-of-lines. |
827 |
|
(rule _XMLDeclaration_): Implemented. |
828 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
829 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
830 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
831 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
832 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
833 |
|
|wf-legal-character| added. |
834 |
|
(%character-code-point): New formatter rule. |
835 |
|
|
836 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
837 |
|
|
838 |
|
* DOMCore.dis (DOMError.stringify): Added. |
839 |
|
(error-handler.default): Returns |false| (don't continue) |
840 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
841 |
|
|
842 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
843 |
|
|
844 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
845 |
|
(|lexmode|s): New |?default-token| statements are used |
846 |
|
so that tokenizer description has been simplified |
847 |
|
and CDATA sections now can be parsed. |
848 |
|
|
849 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
850 |
|
|
851 |
|
* XMLParser.dis: Some modifications made. |
852 |
|
|
853 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
854 |
|
|
855 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
856 |
|
global named resource. |
857 |
|
|
858 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
859 |
|
|
860 |
|
* XMLParser.dis: New file. |
861 |
|
|
862 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
863 |
|
|
864 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
865 |
|
message formatter can now vary by error types. |
866 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
867 |
|
|
868 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
869 |
|
|
870 |
|
* DOMCore.dis (DOMLocator): Implemented. |
871 |
|
|
872 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
873 |
|
|
874 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
875 |
|
domConfigurationParameter): New resources. |
876 |
|
|
877 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
878 |
|
|
879 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
880 |
|
New methods. |
881 |
|
|
882 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
883 |
|
|
884 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
885 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
886 |
|
|
887 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
888 |
|
it is a |DOMCore:DOMError| object. |
889 |
|
|
890 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
891 |
|
|
892 |
|
* DOMCore.dis (severity, type): Getters return value from |
893 |
|
the definition of the current error (i.e. |-def| hash). |
894 |
|
(___error_def): New method. |
895 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
896 |
|
to ease natural reference to constant value. |
897 |
|
(error-handler.default): Prints the error message by |warn|. |
898 |
|
|
899 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
900 |
|
warns as setting has no effect. |
901 |
|
(___report_error): New method. (It had been only implemented |
902 |
|
in superclass.) |
903 |
|
(setting-node-value-no-effect): New error type. |
904 |
|
|
905 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
906 |
|
|
907 |
|
* DOMCore.dis: Error codes added. |
908 |
|
|
909 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
910 |
|
|
911 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
912 |
|
|
913 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
914 |
|
(adoptNode): User data handlers implemented. |
915 |
|
|
916 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
917 |
|
|
918 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
919 |
|
added. |
920 |
|
|
921 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
922 |
|
(getUserData, setUserData): Implemented. |
923 |
|
|
924 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
925 |
|
|
926 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
927 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
928 |
|
|
929 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
930 |
|
changed to |Tree.dis|. |
931 |
|
|
932 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
933 |
|
|
934 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
935 |
|
|
936 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
937 |
|
|
938 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
939 |
|
|
940 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
941 |
|
|
942 |
|
* Makefile: |Tree.dis| added. |
943 |
|
|
944 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
945 |
|
|
946 |
|
* .cvsignore: Revised. |
947 |
|
|
948 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
949 |
|
|
950 |
|
* ManakaiDOMLS2003.dis: Tests added. |
951 |
|
(domConfig): Method name in the code fixed to |flag|. |
952 |
|
|
953 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
954 |
|
added. |
955 |
|
|
956 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
957 |
|
is defined not to have any children. |
958 |
|
(CharacterData): Typos in element type names and function names fixed. |
959 |
|
|
960 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
961 |
|
|
962 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
963 |
|
|
964 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
965 |
|
|
966 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
967 |
|
|
968 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
969 |
|
|
970 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
971 |
|
characters between feature names and versions. |
972 |
|
|
973 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
974 |
|
|
975 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
976 |
|
|
977 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
978 |
|
|
979 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
980 |
|
when an |false| value appears in |@src|. |
981 |
|
|
982 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
983 |
|
|
984 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
985 |
|
(ErrDef): Redefined. |
986 |
|
|
987 |
|
* DOMLS.dis (ErrDef): Redefined. |
988 |
|
|
989 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
990 |
|
|
991 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
992 |
|
|
993 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
994 |
|
|
995 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
996 |
|
(CParam): Definitions for LS module added. |
997 |
|
|
998 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
999 |
|
is also an output processor now. |
1000 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
1001 |
|
(CParam): Definitions updated. |
1002 |
|
|
1003 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
1004 |
|
|
1005 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
1006 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
1007 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
1008 |
|
(DOMConfiguration): Implemented. |
1009 |
|
(CParam): Definitions updated. |
1010 |
|
|
1011 |
|
* DOMMain.dis (DOMURIs): New data type. |
1012 |
|
|
1013 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
1014 |
|
|
1015 |
|
* DOMCore.dis (setAttrValueNS): New code. |
1016 |
|
|
1017 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
1018 |
|
|
1019 |
|
* DOMCore.dis: Don't set "infoset:prefix" internal |
1020 |
|
property unless it has non-null value. |
1021 |
|
(newObject): "refNode" parameter introduced. |
1022 |
|
(ManakaiDOMNode.newObject): Calls "NodeStem.newNode" |
1023 |
|
method if "refNode" parameter is specified. |
1024 |
|
(cloneNode): Don't set "read-only" flag. |
1025 |
|
(getNodeReference): Caches the result. |
1026 |
|
(selectAttributeNodeForRemove): Don't removes any other |
1027 |
|
non-namespace-aware attribute nodes. |
1028 |
|
|
1029 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
1030 |
|
|
1031 |
|
* DOMCore.dis (appendChild, createElementNS, createAttributeNS, |
1032 |
|
setAttribute, setAttributeNS): "strictErrorChecking" attribute supported. |
1033 |
|
(doStrictErrorChecking): New code. |
1034 |
|
|
1035 |
|
* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute |
1036 |
|
supported. |
1037 |
|
|
1038 |
|
* Makefile: Rule to make "DOMFeature.pm" restored. |
1039 |
|
|
1040 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
1041 |
|
|
1042 |
|
* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
1043 |
|
(adoptNode): Implemented. |
1044 |
|
|
1045 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
1046 |
|
|
1047 |
|
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |
1048 |
|
|
1049 |
|
* DOMFeature.dis (DOMCore:implementation): Short name added. |
1050 |
|
|
1051 |
|
* DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
1052 |
|
(DOMCore:node): New error parameter. |
1053 |
|
(DOMCore:ownerDocument): Changed from "mn:irefnode0" |
1054 |
|
to "mn:xrefnode0". For this reason, all assignments |
1055 |
|
to this property have been rewritten to references |
1056 |
|
to code "mn:setXRefNode". |
1057 |
|
(cloneNode): Implemented. |
1058 |
|
(setAttributeNode): A missing "importTree" method call added. |
1059 |
|
(setAttributeNodeNS): Perl code removed and changed |
1060 |
|
to a reference to "setAttributeNode" method code. |
1061 |
|
|
1062 |
|
* DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0" |
1063 |
|
property to "mn:xrefnode0" property. |
1064 |
|
|
1065 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
1066 |
|
|
1067 |
|
* DOMCore.dis, DOMLS.dis: Now constant values are defined only |
1068 |
|
in interfaces. |
1069 |
|
|
1070 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
1071 |
|
|
1072 |
|
* DOMCore.dis (ManakaiDOMEmptyNodeList): New class. |
1073 |
|
(ManakaiDOMCharacterData): Methods reimplemented. |
1074 |
|
(splitText): Reimplemented. |
1075 |
|
(childNodes): Returns a "ManakaiDOMEmptyNodeList" |
1076 |
|
for non-parent node types. |
1077 |
|
|
1078 |
|
* DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList" |
1079 |
|
for non-parent node types. |
1080 |
|
|
1081 |
|
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
1082 |
|
|
1083 |
|
* ManakaiDOMLS2003.dis: Revised to new format. |
1084 |
|
|
1085 |
|
* GenericLS.dis (DOMLS:ParseString): New feature. |
1086 |
|
|
1087 |
|
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
1088 |
|
|
1089 |
|
* DOMFeature.dis: Description added and revised. (Still more |
1090 |
|
work required.) |
1091 |
|
|
1092 |
|
2005-10-04 Wakaba <wakaba@suika.fam.cx> |
1093 |
|
|
1094 |
|
* DOMMain.dis (DOMString): The "idl:perl" attribute |
1095 |
|
value has been changed from "DISPerl:String" |
1096 |
|
to "DISPerl:CharacterString" to clarify its semantics. |
1097 |
|
|
1098 |
|
2005-10-03 Wakaba <wakaba@suika.fam.cx> |
1099 |
|
|
1100 |
|
* DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound |
1101 |
|
type properties added. |
1102 |
|
|
1103 |
|
* DOMMain.dis (DataType): Java, ECMAScript, and Perl bound |
1104 |
|
type properties added. |
1105 |
|
|
1106 |
|
2005-10-02 Wakaba <wakaba@suika.fam.cx> |
1107 |
|
|
1108 |
|
* DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName" |
1109 |
|
properties added. |
1110 |
|
|
1111 |
|
2005-10-01 Wakaba <wakaba@suika.fam.cx> |
1112 |
|
|
1113 |
|
* DOMFeature.dis: Documentation added (still work in progress). |
1114 |
|
(MIString): New type. |
1115 |
|
|
1116 |
|
* DOMCore.dis (namespaceURI): Fixed to return the namespace |
1117 |
|
URI value, not a reference to it. |
1118 |
|
|
1119 |
|
2005-09-30 Wakaba <wakaba@suika.fam.cx> |
1120 |
|
|
1121 |
|
* DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local |
1122 |
|
names where possible. |
1123 |
|
|
1124 |
|
* DOMFeature.dis: Documentation for DOM Minimum Implementation |
1125 |
|
added (still work in progress). |
1126 |
|
|
1127 |
|
* Makefile (feature.dae, feature-spec.dae): New rules. |
1128 |
|
|
1129 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
1130 |
|
|
1131 |
|
* DOMCore.dis (DOMCore:nodeProp): New property. |
1132 |
|
|
1133 |
|
* DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*" |
1134 |
|
is removed. |
1135 |
|
|
1136 |
|
2005-09-26 Wakaba <wakaba@suika.fam.cx> |
1137 |
|
|
1138 |
|
* DOMCore.dis, DOMXML.dis: New mn:* properties added. |
1139 |
|
|
1140 |
|
2005-09-25 Wakaba <wakaba@suika.fam.cx> |
1141 |
|
|
1142 |
|
* Makefile (DAC_SUFFIX): Changed to ".dae". |
1143 |
|
(DAEM_SUFFIX): New. |
1144 |
|
|
1145 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
1146 |
|
|
1147 |
|
* DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1" |
1148 |
|
and "ManakaiDOM:ManakaiDOM2". |
1149 |
|
|
1150 |
|
* DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis, |
1151 |
|
DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H |
1152 |
|
instead of disPerl:Q for internal property hash keys. |
1153 |
|
|
1154 |
|
* DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property |
1155 |
|
definitions added. |
1156 |
|
|
1157 |
|
* DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode): |
1158 |
|
New resources. |
1159 |
|
|
1160 |
|
* DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New |
1161 |
|
resources. |
1162 |
|
|
1163 |
|
2005-09-23 Wakaba <wakaba@suika.fam.cx> |
1164 |
|
|
1165 |
|
* GenericLS.dis, SimpleLS.dis: New modules separated |
1166 |
|
from DOMLS.dis. |
1167 |
|
|
1168 |
|
* DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions |
1169 |
|
moved from DOMMain to DOMFeature. Now DOMFeature |
1170 |
|
has no dependency on DOMMain. |
1171 |
|
|
1172 |
|
* DOMFeature.dis (DEBUG): New variable. |
1173 |
|
|
1174 |
|
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
1175 |
|
|
1176 |
|
* Makefile: DAC_SUFFIX changed to ".dad". |
1177 |
|
|
1178 |
|
2005-09-21 Wakaba <wakaba@suika.fam.cx> |
1179 |
|
|
1180 |
|
* DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion" |
1181 |
|
features if it is "for" ManakaiDOM:DOMXMLFeature. |
1182 |
|
|
1183 |
|
* DOMMain.pm (StringExtend): Code portions of raising |
1184 |
|
StringOutOfBoundsException is temporary disabled since |
1185 |
|
it is not a DOM-style exception supported by |
1186 |
|
current implementation of ManakaiNode - it will be |
1187 |
|
recovered in later revision. |
1188 |
|
|
1189 |
|
2005-09-20 Wakaba <wakaba@suika.fam.cx> |
1190 |
|
|
1191 |
|
* DOMFeature.pm: Debug output code copied |
1192 |
|
from Attic/DOMMetaImpl.pm (Should these code incorporated |
1193 |
|
to source dis file?). |
1194 |
|
|
1195 |
|
2005-09-19 Wakaba <wakaba@suika.fam.cx> |
1196 |
|
|
1197 |
|
* DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn, |
1198 |
|
ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet, |
1199 |
|
ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed. |
1200 |
|
(ManakaiDOMTimeStamp): Removed. |
1201 |
|
|
1202 |
|
* DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no |
1203 |
|
longer in use). |
1204 |
|
|
1205 |
|
2005-09-18 Wakaba <wakaba@suika.fam.cx> |
1206 |
|
|
1207 |
|
* DOMMain.dis (StringOutOfBoundsException): New exception. |
1208 |
|
|
1209 |
|
2005-09-15 Wakaba <wakaba@suika.fam.cx> |
1210 |
|
|
1211 |
|
* DOMFeature.dis: dis:dataType and dis:multipleProperties |
1212 |
|
properties added to properties. |
1213 |
|
|
1214 |
|
2005-09-08 Wakaba <wakaba@suika.fam.cx> |
1215 |
|
|
1216 |
|
* Makefile: Rules renewaled. |
1217 |
|
|
1218 |
|
2005-09-07 Wakaba <wakaba@suika.fam.cx> |
1219 |
|
|
1220 |
|
* DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed. |
1221 |
|
|
1222 |
|
2005-09-05 Wakaba <wakaba@suika.fam.cx> |
1223 |
|
|
1224 |
|
* DOMMain.dis (DOMImplementationRegistry, |
1225 |
|
DOMImplementationRegistryVar): New. |
1226 |
|
|
1227 |
|
* DOMFeature.dis (DOMImplementationRegistry, |
1228 |
|
DOMImplementationRegistryVar): Removed. |
1229 |
|
(ImplementationRegistry): New class. |
1230 |
|
|
1231 |
|
2005-09-04 Wakaba <wakaba@suika.fam.cx> |
1232 |
|
|
1233 |
|
* DOMFeature.dis: New module. |
1234 |
|
|
1235 |
|
* DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed. |
1236 |
|
|
1237 |
|
* DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New. |
1238 |
|
(DOMString, DOMTimeStamp): Now they are not interfaces |
1239 |
|
but datatypes. |
1240 |
|
(DOMUserData, DOMObject, DOMUserData): Now they |
1241 |
|
are subtypes rather than aliases of their "real" type in IDL. |
1242 |
|
|
1243 |
|
* DOMCore.dis (DOMImplementationList, DOMImplementationSource): |
1244 |
|
New interfaces and classes. |
1245 |
|
|
1246 |
|
2005-09-01 Wakaba <wakaba@suika.fam.cx> |
1247 |
|
|
1248 |
|
* DOMCore.dis (setTextNodeContent): Sets the infoset:parent |
1249 |
|
property of the new Text node. |
1250 |
|
|
1251 |
|
2005-08-29 Wakaba <wakaba@suika.fam.cx> |
1252 |
|
|
1253 |
|
* Makefile: Loads "NaturalLanguage.dis". |
1254 |
|
|
1255 |
|
2005-08-26 Wakaba <wakaba@suika.fam.cx> |
1256 |
|
|
1257 |
|
* DOMCore.dis (createDocument): Set "ownerDocument" attribute |
1258 |
|
to the root element created by the method. (It was forgotten!!) |
1259 |
|
|
1260 |
|
2005-08-15 Wakaba <wakaba@suika.fam.cx> |
1261 |
|
|
1262 |
|
* DOMCore.dis (appendChild, insertBefore, replaceChild): Typo |
1263 |
|
in the code of removing the newChild from the previous |
1264 |
|
parent of that node is fixed. |
1265 |
|
|
1266 |
|
2005-05-29 Wakaba <wakaba@suika.fam.cx> |
1267 |
|
|
1268 |
|
* DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use |
1269 |
|
namespace prefix of element type if it is not declared |
1270 |
|
but not used else. A shift is replaced by pop:). |
1271 |
|
|
1272 |
|
* DOMCore.dis (getFeature): The getFeature method |
1273 |
|
for Node-derived classes implemented. |
1274 |
|
* DOMXML.dis (getFeature): Ditto. |
1275 |
|
|
1276 |
|
2005-05-21 Wakaba <wakaba@suika.fam.cx> |
1277 |
|
|
1278 |
|
* DOMCore.dis (getNodeReference): Use HTMLDocument class |
1279 |
|
if a document node has no document element node but |
1280 |
|
has support for the "HTML" feature. |
1281 |
|
|
1282 |
|
2005-03-03 Wakaba <wakaba@suika.fam.cx> |
1283 |
|
|
1284 |
|
* DOMMetaImpl.dis (features input normalizer): Variable name |
1285 |
|
typo fixed. |
1286 |
|
(ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug |
1287 |
|
so that version specification for "+"'ed feature name does work now. |
1288 |
|
|
1289 |
|
2005-03-02 Wakaba <wakaba@suika.fam.cx> |
1290 |
|
|
1291 |
|
* DOMBoot.dis (ResourceDef): Definitions for DOMFeature are |
1292 |
|
removed (now defined in DOMMetaImpl). |
1293 |
|
|
1294 |
|
2005-02-21 Wakaba <wakaba@suika.fam.cx> |
1295 |
|
|
1296 |
|
* DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New. |
1297 |
|
|
1298 |
|
* Makefile: Rules for DOMMetaImpl module added. |
1299 |
|
|
1300 |
|
2005-02-20 Wakaba <wakaba@suika.fam.cx> |
1301 |
|
|
1302 |
|
* DOMMetaImpl.dis: New module (split from DOMCore and DOMMain). |
1303 |
|
|
1304 |
2005-02-18 Wakaba <wakaba@suika.fam.cx> |
2005-02-18 Wakaba <wakaba@suika.fam.cx> |
1305 |
|
|
1306 |
|
* DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference |
1307 |
|
is an instance method, not a class method. |
1308 |
|
|
1309 |
* DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const, |
* DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const, |
1310 |
ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis"). |
ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis"). |
1311 |
(Exception-related definitions): Removed (moved to |
(Exception-related definitions): Removed (moved to |