1 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
4 |
|
attribute are added. |
5 |
|
|
6 |
|
* XDoctype.dis (createGeneralEntity): New method. |
7 |
|
(generalEntities): New attribute. |
8 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
9 |
|
|
10 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
11 |
|
(ManakaiDOMEntityMap): New class. |
12 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
13 |
|
(createEntityReference): If there is a corresponding |Entity| |
14 |
|
node in the document type definition, then copies its |
15 |
|
subtree. |
16 |
|
|
17 |
|
* DOMXML.dis (Entity): Documentation updated. |
18 |
|
(publicId, systemId, notationName, xmlEncoding, |
19 |
|
xmlVersion): These attributes are now settable |
20 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
21 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
22 |
|
mode. |
23 |
|
(ownerDocumentTypeDefinition): New attribute |
24 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
25 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
26 |
|
|
27 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
30 |
|
|
31 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
32 |
|
|
33 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
34 |
|
(ManakaiDOMAttributes): Removed. |
35 |
|
(ManakaiDOMAttrMap): New class. |
36 |
|
(ManakaiDOMAttrMapArray): New class. |
37 |
|
(namespaceURI): Bug to return a string representation |
38 |
|
of a reference to the namespace URI string is fixed. |
39 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
40 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
41 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
42 |
|
if there is no attribute node. |
43 |
|
(createElement, createElementNS): DTD default attributes are supported. |
44 |
|
(setAttributeNode): Reimplemented. |
45 |
|
|
46 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
49 |
|
|
50 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
51 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
52 |
|
(schemaTypeInfo): Implemented for XML DTD. |
53 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
54 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
55 |
|
of the newly created |Attr| node (if any) when attribute |
56 |
|
definition is available. |
57 |
|
(doctype, documentElement): Reimplemented with tests. |
58 |
|
|
59 |
|
* XMLParser.dis: Sets [attribute type] information |
60 |
|
to created |Attr| nodes. Normalize namespace URIs |
61 |
|
when such information are available (unlikely but legal). |
62 |
|
(_HexadecimalCharacterReference): Number to character |
63 |
|
convertion bug fixed. |
64 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
65 |
|
configuration parameter to XML DTD URI. |
66 |
|
|
67 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
70 |
|
attribute definition nodes. |
71 |
|
|
72 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
73 |
|
and another |UNKNOWN_ATTR| constant is introduced |
74 |
|
for consistency with XML Infoset. |
75 |
|
|
76 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
77 |
|
|
78 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* XDoctype.dis: A bug in test code fixed. |
81 |
|
|
82 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
83 |
|
definition named node maps now can be dereferenced |
84 |
|
as if they are array or hash references. |
85 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
86 |
|
or attribute definitions. |
87 |
|
(length): Tests added. |
88 |
|
(NamedNodeMapArray): New classes. |
89 |
|
|
90 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
93 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
94 |
|
if the new node is already used for another definition. |
95 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
96 |
|
property name was incorrect. |
97 |
|
(elementTypes, attributeDefinitions): Checks to |
98 |
|
ensure the collection is empty added. |
99 |
|
|
100 |
|
* Tree.dis: Property name typos fixed. |
101 |
|
(setNamedItem, setAttributeNode): Don't return any node |
102 |
|
if it replace itself. |
103 |
|
(c:userDeterminedId): Missing definition added. |
104 |
|
|
105 |
|
* DOMXML.dis (Notation): Missing property specification |
106 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
107 |
|
|
108 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* DOMCore.dis (Test): Missing argument added. |
111 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
112 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
113 |
|
error conditions were incorrect. |
114 |
|
|
115 |
|
* .cvsignore: Dummy files added. |
116 |
|
|
117 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
120 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
121 |
|
|
122 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
123 |
|
to avoid uninitialized value warning. |
124 |
|
|
125 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
126 |
|
classes (work in progress). |
127 |
|
|
128 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
129 |
|
|
130 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* Tree.dis (getAttribute): Returns |null| if there |
133 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
134 |
|
with Web browser implementations. |
135 |
|
(getAttributeNS): It returned |null| if there |
136 |
|
is no attribute in any |For| unintentionally. It now |
137 |
|
returns an empty string in DOM levels less than or equals |
138 |
|
to three. |
139 |
|
|
140 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
141 |
|
uninitialized value or substring out of range. |
142 |
|
|
143 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
146 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
147 |
|
|
148 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
149 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
150 |
|
node to the document. |
151 |
|
(_ProcessingInstructionDTD): Appends a processing |
152 |
|
instruction node to the document type definition. |
153 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
154 |
|
|
155 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
158 |
|
code (seprated from |InputProcessor|). Now |
159 |
|
a |features| parameter's version can be specified by |
160 |
|
an array reference that contains a set of version |
161 |
|
numbers. A test added. |
162 |
|
|
163 |
|
* XMLParser.dis: A test added. |
164 |
|
|
165 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
168 |
|
because it does not work with dummy object used in the test code. |
169 |
|
|
170 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
173 |
|
namespace URI is defined for not being warned. |
174 |
|
|
175 |
|
* XDoctype.dis: New module. |
176 |
|
|
177 |
|
* DOMCore.dis (DOMStringList): Test added. |
178 |
|
|
179 |
|
* Makefile: |XDoctype.pm| added. |
180 |
|
|
181 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
182 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
183 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
184 |
|
object (it was incorrectly tested to return |null|). |
185 |
|
(EmptyNodeList.DESTROY): Removed. |
186 |
|
|
187 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
190 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
191 |
|
(appendChild, insertBefore, replaceChild): New |
192 |
|
two node types added and processing instruction nodes |
193 |
|
as document type definition node child is allowed |
194 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
195 |
|
(getNodeReference): New |interface| parameter |
196 |
|
to filter classes by interface is added. |
197 |
|
(ElementTypeDefinitionRole): New role. |
198 |
|
(AttributeDefinitionRole): New role. |
199 |
|
|
200 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
203 |
|
|
204 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
207 |
|
if it is not provided. |
208 |
|
|
209 |
|
* XMLParser.dis: Parsing methods to skip document |
210 |
|
type declaration is added. |
211 |
|
|
212 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
215 |
|
or not. Normalize end-of-lines. |
216 |
|
(rule _XMLDeclaration_): Implemented. |
217 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
218 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
219 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
220 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
221 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
222 |
|
|wf-legal-character| added. |
223 |
|
(%character-code-point): New formatter rule. |
224 |
|
|
225 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
226 |
|
|
227 |
|
* DOMCore.dis (DOMError.stringify): Added. |
228 |
|
(error-handler.default): Returns |false| (don't continue) |
229 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
230 |
|
|
231 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
234 |
|
(|lexmode|s): New |?default-token| statements are used |
235 |
|
so that tokenizer description has been simplified |
236 |
|
and CDATA sections now can be parsed. |
237 |
|
|
238 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
|
* XMLParser.dis: Some modifications made. |
241 |
|
|
242 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
245 |
|
global named resource. |
246 |
|
|
247 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
248 |
|
|
249 |
|
* XMLParser.dis: New file. |
250 |
|
|
251 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
252 |
|
|
253 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
254 |
|
message formatter can now vary by error types. |
255 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
256 |
|
|
257 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* DOMCore.dis (DOMLocator): Implemented. |
260 |
|
|
261 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
264 |
|
domConfigurationParameter): New resources. |
265 |
|
|
266 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
269 |
|
New methods. |
270 |
|
|
271 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
274 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
275 |
|
|
276 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
277 |
|
it is a |DOMCore:DOMError| object. |
278 |
|
|
279 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* DOMCore.dis (severity, type): Getters return value from |
282 |
|
the definition of the current error (i.e. |-def| hash). |
283 |
|
(___error_def): New method. |
284 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
285 |
|
to ease natural reference to constant value. |
286 |
|
(error-handler.default): Prints the error message by |warn|. |
287 |
|
|
288 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
289 |
|
warns as setting has no effect. |
290 |
|
(___report_error): New method. (It had been only implemented |
291 |
|
in superclass.) |
292 |
|
(setting-node-value-no-effect): New error type. |
293 |
|
|
294 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* DOMCore.dis: Error codes added. |
297 |
|
|
298 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
299 |
|
|
300 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
303 |
|
(adoptNode): User data handlers implemented. |
304 |
|
|
305 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
308 |
|
added. |
309 |
|
|
310 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
311 |
|
(getUserData, setUserData): Implemented. |
312 |
|
|
313 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
314 |
|
|
315 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
316 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
317 |
|
|
318 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
319 |
|
changed to |Tree.dis|. |
320 |
|
|
321 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
324 |
|
|
325 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
326 |
|
|
327 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
328 |
|
|
329 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
330 |
|
|
331 |
|
* Makefile: |Tree.dis| added. |
332 |
|
|
333 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* .cvsignore: Revised. |
336 |
|
|
337 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
339 |
|
* ManakaiDOMLS2003.dis: Tests added. |
340 |
|
(domConfig): Method name in the code fixed to |flag|. |
341 |
|
|
342 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
343 |
|
added. |
344 |
|
|
345 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
346 |
|
is defined not to have any children. |
347 |
|
(CharacterData): Typos in element type names and function names fixed. |
348 |
|
|
349 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
350 |
|
|
351 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
352 |
|
|
353 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
354 |
|
|
355 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
356 |
|
|
357 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
360 |
|
characters between feature names and versions. |
361 |
|
|
362 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
365 |
|
|
366 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
367 |
|
|
368 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
369 |
|
when an |false| value appears in |@src|. |
370 |
|
|
371 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
372 |
|
|
373 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
374 |
|
(ErrDef): Redefined. |
375 |
|
|
376 |
|
* DOMLS.dis (ErrDef): Redefined. |
377 |
|
|
378 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
379 |
|
|
380 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
381 |
|
|
382 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
383 |
|
|
384 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
385 |
|
(CParam): Definitions for LS module added. |
386 |
|
|
387 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
388 |
|
is also an output processor now. |
389 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
390 |
|
(CParam): Definitions updated. |
391 |
|
|
392 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
393 |
|
|
394 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
395 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
396 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
397 |
|
(DOMConfiguration): Implemented. |
398 |
|
(CParam): Definitions updated. |
399 |
|
|
400 |
|
* DOMMain.dis (DOMURIs): New data type. |
401 |
|
|
402 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* DOMCore.dis (setAttrValueNS): New code. |
405 |
|
|
406 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* DOMCore.dis: Don't set "infoset:prefix" internal |
409 |
|
property unless it has non-null value. |
410 |
|
(newObject): "refNode" parameter introduced. |
411 |
|
(ManakaiDOMNode.newObject): Calls "NodeStem.newNode" |
412 |
|
method if "refNode" parameter is specified. |
413 |
|
(cloneNode): Don't set "read-only" flag. |
414 |
|
(getNodeReference): Caches the result. |
415 |
|
(selectAttributeNodeForRemove): Don't removes any other |
416 |
|
non-namespace-aware attribute nodes. |
417 |
|
|
418 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
419 |
|
|
420 |
|
* DOMCore.dis (appendChild, createElementNS, createAttributeNS, |
421 |
|
setAttribute, setAttributeNS): "strictErrorChecking" attribute supported. |
422 |
|
(doStrictErrorChecking): New code. |
423 |
|
|
424 |
|
* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute |
425 |
|
supported. |
426 |
|
|
427 |
|
* Makefile: Rule to make "DOMFeature.pm" restored. |
428 |
|
|
429 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
430 |
|
|
431 |
|
* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
432 |
|
(adoptNode): Implemented. |
433 |
|
|
434 |
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
435 |
|
|
436 |
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |