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