1 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
4 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
5 |
|
(createEntityReference): Set |c:read-only| flag of |
6 |
|
the created entity reference, too. |
7 |
|
|
8 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
9 |
|
|
10 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
11 |
|
from |DOMFeature| module instead. Use |idl:Object| |
12 |
|
instead of |DOMMain:DOMObject| as well. |
13 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
14 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
15 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
16 |
|
respectively. |
17 |
|
|
18 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
19 |
|
It will be reimplemented using |DocumentTypeDefinition| |
20 |
|
class from |XDoctype| module. |
21 |
|
|
22 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
23 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
24 |
|
SimpleLS.dis: Cleaned up unused definitions. |
25 |
|
|
26 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
27 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
28 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
29 |
|
|
30 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
31 |
|
|
32 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
33 |
|
(feature.dae): Include |GenericLS| module. |
34 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
35 |
|
(ls.dae): Include |DOMLS| module. |
36 |
|
|
37 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
40 |
|
attribute are added. |
41 |
|
|
42 |
|
* XDoctype.dis (createGeneralEntity): New method. |
43 |
|
(generalEntities): New attribute. |
44 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
45 |
|
|
46 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
47 |
|
(ManakaiDOMEntityMap): New class. |
48 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
49 |
|
(createEntityReference): If there is a corresponding |Entity| |
50 |
|
node in the document type definition, then copies its |
51 |
|
subtree. |
52 |
|
|
53 |
|
* DOMXML.dis (Entity): Documentation updated. |
54 |
|
(publicId, systemId, notationName, xmlEncoding, |
55 |
|
xmlVersion): These attributes are now settable |
56 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
57 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
58 |
|
mode. |
59 |
|
(ownerDocumentTypeDefinition): New attribute |
60 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
61 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
62 |
|
|
63 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
66 |
|
|
67 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
68 |
|
|
69 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
70 |
|
(ManakaiDOMAttributes): Removed. |
71 |
|
(ManakaiDOMAttrMap): New class. |
72 |
|
(ManakaiDOMAttrMapArray): New class. |
73 |
|
(namespaceURI): Bug to return a string representation |
74 |
|
of a reference to the namespace URI string is fixed. |
75 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
76 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
77 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
78 |
|
if there is no attribute node. |
79 |
|
(createElement, createElementNS): DTD default attributes are supported. |
80 |
|
(setAttributeNode): Reimplemented. |
81 |
|
|
82 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
85 |
|
|
86 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
87 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
88 |
|
(schemaTypeInfo): Implemented for XML DTD. |
89 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
90 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
91 |
|
of the newly created |Attr| node (if any) when attribute |
92 |
|
definition is available. |
93 |
|
(doctype, documentElement): Reimplemented with tests. |
94 |
|
|
95 |
|
* XMLParser.dis: Sets [attribute type] information |
96 |
|
to created |Attr| nodes. Normalize namespace URIs |
97 |
|
when such information are available (unlikely but legal). |
98 |
|
(_HexadecimalCharacterReference): Number to character |
99 |
|
convertion bug fixed. |
100 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
101 |
|
configuration parameter to XML DTD URI. |
102 |
|
|
103 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
106 |
|
attribute definition nodes. |
107 |
|
|
108 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
109 |
|
and another |UNKNOWN_ATTR| constant is introduced |
110 |
|
for consistency with XML Infoset. |
111 |
|
|
112 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
113 |
|
|
114 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* XDoctype.dis: A bug in test code fixed. |
117 |
|
|
118 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
119 |
|
definition named node maps now can be dereferenced |
120 |
|
as if they are array or hash references. |
121 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
122 |
|
or attribute definitions. |
123 |
|
(length): Tests added. |
124 |
|
(NamedNodeMapArray): New classes. |
125 |
|
|
126 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
129 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
130 |
|
if the new node is already used for another definition. |
131 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
132 |
|
property name was incorrect. |
133 |
|
(elementTypes, attributeDefinitions): Checks to |
134 |
|
ensure the collection is empty added. |
135 |
|
|
136 |
|
* Tree.dis: Property name typos fixed. |
137 |
|
(setNamedItem, setAttributeNode): Don't return any node |
138 |
|
if it replace itself. |
139 |
|
(c:userDeterminedId): Missing definition added. |
140 |
|
|
141 |
|
* DOMXML.dis (Notation): Missing property specification |
142 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
143 |
|
|
144 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* DOMCore.dis (Test): Missing argument added. |
147 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
148 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
149 |
|
error conditions were incorrect. |
150 |
|
|
151 |
|
* .cvsignore: Dummy files added. |
152 |
|
|
153 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
154 |
|
|
155 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
156 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
157 |
|
|
158 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
159 |
|
to avoid uninitialized value warning. |
160 |
|
|
161 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
162 |
|
classes (work in progress). |
163 |
|
|
164 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
165 |
|
|
166 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* Tree.dis (getAttribute): Returns |null| if there |
169 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
170 |
|
with Web browser implementations. |
171 |
|
(getAttributeNS): It returned |null| if there |
172 |
|
is no attribute in any |For| unintentionally. It now |
173 |
|
returns an empty string in DOM levels less than or equals |
174 |
|
to three. |
175 |
|
|
176 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
177 |
|
uninitialized value or substring out of range. |
178 |
|
|
179 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
182 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
183 |
|
|
184 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
185 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
186 |
|
node to the document. |
187 |
|
(_ProcessingInstructionDTD): Appends a processing |
188 |
|
instruction node to the document type definition. |
189 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
190 |
|
|
191 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
194 |
|
code (seprated from |InputProcessor|). Now |
195 |
|
a |features| parameter's version can be specified by |
196 |
|
an array reference that contains a set of version |
197 |
|
numbers. A test added. |
198 |
|
|
199 |
|
* XMLParser.dis: A test added. |
200 |
|
|
201 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
202 |
|
|
203 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
204 |
|
because it does not work with dummy object used in the test code. |
205 |
|
|
206 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
209 |
|
namespace URI is defined for not being warned. |
210 |
|
|
211 |
|
* XDoctype.dis: New module. |
212 |
|
|
213 |
|
* DOMCore.dis (DOMStringList): Test added. |
214 |
|
|
215 |
|
* Makefile: |XDoctype.pm| added. |
216 |
|
|
217 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
218 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
219 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
220 |
|
object (it was incorrectly tested to return |null|). |
221 |
|
(EmptyNodeList.DESTROY): Removed. |
222 |
|
|
223 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
224 |
|
|
225 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
226 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
227 |
|
(appendChild, insertBefore, replaceChild): New |
228 |
|
two node types added and processing instruction nodes |
229 |
|
as document type definition node child is allowed |
230 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
231 |
|
(getNodeReference): New |interface| parameter |
232 |
|
to filter classes by interface is added. |
233 |
|
(ElementTypeDefinitionRole): New role. |
234 |
|
(AttributeDefinitionRole): New role. |
235 |
|
|
236 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
239 |
|
|
240 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
243 |
|
if it is not provided. |
244 |
|
|
245 |
|
* XMLParser.dis: Parsing methods to skip document |
246 |
|
type declaration is added. |
247 |
|
|
248 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
249 |
|
|
250 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
251 |
|
or not. Normalize end-of-lines. |
252 |
|
(rule _XMLDeclaration_): Implemented. |
253 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
254 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
255 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
256 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
257 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
258 |
|
|wf-legal-character| added. |
259 |
|
(%character-code-point): New formatter rule. |
260 |
|
|
261 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
262 |
|
|
263 |
|
* DOMCore.dis (DOMError.stringify): Added. |
264 |
|
(error-handler.default): Returns |false| (don't continue) |
265 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
266 |
|
|
267 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
270 |
|
(|lexmode|s): New |?default-token| statements are used |
271 |
|
so that tokenizer description has been simplified |
272 |
|
and CDATA sections now can be parsed. |
273 |
|
|
274 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* XMLParser.dis: Some modifications made. |
277 |
|
|
278 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
281 |
|
global named resource. |
282 |
|
|
283 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
284 |
|
|
285 |
|
* XMLParser.dis: New file. |
286 |
|
|
287 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
288 |
|
|
289 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
290 |
|
message formatter can now vary by error types. |
291 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
292 |
|
|
293 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
294 |
|
|
295 |
|
* DOMCore.dis (DOMLocator): Implemented. |
296 |
|
|
297 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
300 |
|
domConfigurationParameter): New resources. |
301 |
|
|
302 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
303 |
|
|
304 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
305 |
|
New methods. |
306 |
|
|
307 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
308 |
|
|
309 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
310 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
311 |
|
|
312 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
313 |
|
it is a |DOMCore:DOMError| object. |
314 |
|
|
315 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
316 |
|
|
317 |
|
* DOMCore.dis (severity, type): Getters return value from |
318 |
|
the definition of the current error (i.e. |-def| hash). |
319 |
|
(___error_def): New method. |
320 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
321 |
|
to ease natural reference to constant value. |
322 |
|
(error-handler.default): Prints the error message by |warn|. |
323 |
|
|
324 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
325 |
|
warns as setting has no effect. |
326 |
|
(___report_error): New method. (It had been only implemented |
327 |
|
in superclass.) |
328 |
|
(setting-node-value-no-effect): New error type. |
329 |
|
|
330 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
331 |
|
|
332 |
|
* DOMCore.dis: Error codes added. |
333 |
|
|
334 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
335 |
|
|
336 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
339 |
|
(adoptNode): User data handlers implemented. |
340 |
|
|
341 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
342 |
|
|
343 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
344 |
|
added. |
345 |
|
|
346 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
347 |
|
(getUserData, setUserData): Implemented. |
348 |
|
|
349 |
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
350 |
|
|
351 |
* DOMCore.dis (UserDataHandler): Implemented. |
* DOMCore.dis (UserDataHandler): Implemented. |