1 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
4 |
|
fatal error. |
5 |
|
|
6 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
9 |
|
defined as a |?default-token|. |
10 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
11 |
|
comment declarations, cdata sections, and |MSE| in |content| |
12 |
|
added. |
13 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
14 |
|
(get-location-from-token): |$token->{location_d}| |
15 |
|
for |?default-token| column counting support added. |
16 |
|
|
17 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
18 |
|
|
19 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* Tree.dis (createProcessingInstruction): Don't |
22 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
23 |
|
is |false|. |
24 |
|
|
25 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
26 |
|
It enables improved error position report. |
27 |
|
(XDO): It now includes |S+| following target name |xml| as |
28 |
|
part of the token. (PI with target starting with |xml| |
29 |
|
was unable to be placed at the beginning of the document entity.) |
30 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
31 |
|
a processing instruction node with |#INVALID| node name |
32 |
|
if target name is not given and recovered from the error. |
33 |
|
(S): Variable |$s| added. |
34 |
|
(XMLTests): Tests for XML declarations and processing |
35 |
|
instructions are added. Prints error type name if unexpected |
36 |
|
error with severity of error or fatal error has been reported. |
37 |
|
Catch unexpected exceptions thrown in parser (different |
38 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
39 |
|
for the ease of testing. |
40 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
41 |
|
stack into acount. |
42 |
|
|
43 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
46 |
|
is fixed. Although the DOM Level 3 Core specification |
47 |
|
is unclear about whether the first number is zero or one, |
48 |
|
in most programs the first line is "one" and |
49 |
|
the first column is "one", manakai follows the practice. |
50 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
51 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
52 |
|
tests (successful cases) added. |
53 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
54 |
|
properties. |
55 |
|
|
56 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
59 |
|
|
60 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* DOMCore.dis (c:erred): New property. |
63 |
|
(c:DOMErrorType): It should have been a subset |
64 |
|
of |ecore:AnyErrorCode|. |
65 |
|
|
66 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
67 |
|
|
68 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* XDoctype.dis (d:Feature): New canonical feature |
71 |
|
name |fe:XDoctype| is added. |
72 |
|
|
73 |
|
* XMLParser.dis: Predefined general entity references |
74 |
|
are implemented. Creates |Entity| nodes from general entities |
75 |
|
declared in internal subset. |Entity| nodes created from internal |
76 |
|
general parsed entities now have replacement tree. |
77 |
|
Sets |cfg:entity-reference-read-only| flag off during |
78 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
79 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
80 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
81 |
|
introduced. General entity references in attribute value literal |
82 |
|
are supported. |
83 |
|
|
84 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
87 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
88 |
|
(createEntityReference): Set |c:read-only| flag of |
89 |
|
the created entity reference, too. |
90 |
|
|
91 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
92 |
|
|
93 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
94 |
|
from |DOMFeature| module instead. Use |idl:Object| |
95 |
|
instead of |DOMMain:DOMObject| as well. |
96 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
97 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
98 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
99 |
|
respectively. |
100 |
|
|
101 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
102 |
|
It will be reimplemented using |DocumentTypeDefinition| |
103 |
|
class from |XDoctype| module. |
104 |
|
|
105 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
106 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
107 |
|
SimpleLS.dis: Cleaned up unused definitions. |
108 |
|
|
109 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
110 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
111 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
112 |
|
|
113 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
114 |
|
|
115 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
116 |
|
(feature.dae): Include |GenericLS| module. |
117 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
118 |
|
(ls.dae): Include |DOMLS| module. |
119 |
|
|
120 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
123 |
|
attribute are added. |
124 |
|
|
125 |
|
* XDoctype.dis (createGeneralEntity): New method. |
126 |
|
(generalEntities): New attribute. |
127 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
128 |
|
|
129 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
130 |
|
(ManakaiDOMEntityMap): New class. |
131 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
132 |
|
(createEntityReference): If there is a corresponding |Entity| |
133 |
|
node in the document type definition, then copies its |
134 |
|
subtree. |
135 |
|
|
136 |
|
* DOMXML.dis (Entity): Documentation updated. |
137 |
|
(publicId, systemId, notationName, xmlEncoding, |
138 |
|
xmlVersion): These attributes are now settable |
139 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
140 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
141 |
|
mode. |
142 |
|
(ownerDocumentTypeDefinition): New attribute |
143 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
144 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
145 |
|
|
146 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
149 |
|
|
150 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
151 |
|
|
152 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
153 |
|
(ManakaiDOMAttributes): Removed. |
154 |
|
(ManakaiDOMAttrMap): New class. |
155 |
|
(ManakaiDOMAttrMapArray): New class. |
156 |
|
(namespaceURI): Bug to return a string representation |
157 |
|
of a reference to the namespace URI string is fixed. |
158 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
159 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
160 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
161 |
|
if there is no attribute node. |
162 |
|
(createElement, createElementNS): DTD default attributes are supported. |
163 |
|
(setAttributeNode): Reimplemented. |
164 |
|
|
165 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
168 |
|
|
169 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
170 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
171 |
|
(schemaTypeInfo): Implemented for XML DTD. |
172 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
173 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
174 |
|
of the newly created |Attr| node (if any) when attribute |
175 |
|
definition is available. |
176 |
|
(doctype, documentElement): Reimplemented with tests. |
177 |
|
|
178 |
|
* XMLParser.dis: Sets [attribute type] information |
179 |
|
to created |Attr| nodes. Normalize namespace URIs |
180 |
|
when such information are available (unlikely but legal). |
181 |
|
(_HexadecimalCharacterReference): Number to character |
182 |
|
convertion bug fixed. |
183 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
184 |
|
configuration parameter to XML DTD URI. |
185 |
|
|
186 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
189 |
|
attribute definition nodes. |
190 |
|
|
191 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
192 |
|
and another |UNKNOWN_ATTR| constant is introduced |
193 |
|
for consistency with XML Infoset. |
194 |
|
|
195 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
196 |
|
|
197 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* XDoctype.dis: A bug in test code fixed. |
200 |
|
|
201 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
202 |
|
definition named node maps now can be dereferenced |
203 |
|
as if they are array or hash references. |
204 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
205 |
|
or attribute definitions. |
206 |
|
(length): Tests added. |
207 |
|
(NamedNodeMapArray): New classes. |
208 |
|
|
209 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
210 |
|
|
211 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
212 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
213 |
|
if the new node is already used for another definition. |
214 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
215 |
|
property name was incorrect. |
216 |
|
(elementTypes, attributeDefinitions): Checks to |
217 |
|
ensure the collection is empty added. |
218 |
|
|
219 |
|
* Tree.dis: Property name typos fixed. |
220 |
|
(setNamedItem, setAttributeNode): Don't return any node |
221 |
|
if it replace itself. |
222 |
|
(c:userDeterminedId): Missing definition added. |
223 |
|
|
224 |
|
* DOMXML.dis (Notation): Missing property specification |
225 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
226 |
|
|
227 |
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
* DOMCore.dis (Test): Missing argument added. |
* DOMCore.dis (Test): Missing argument added. |