1 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XDoctype.dis (d:Feature): New canonical feature |
4 |
|
name |fe:XDoctype| is added. |
5 |
|
|
6 |
|
* XMLParser.dis: Predefined general entity references |
7 |
|
are implemented. Creates |Entity| nodes from general entities |
8 |
|
declared in internal subset. |Entity| nodes created from internal |
9 |
|
general parsed entities now have replacement tree. |
10 |
|
Sets |cfg:entity-reference-read-only| flag off during |
11 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
12 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
13 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
14 |
|
introduced. General entity references in attribute value literal |
15 |
|
are supported. |
16 |
|
|
17 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
20 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
21 |
|
(createEntityReference): Set |c:read-only| flag of |
22 |
|
the created entity reference, too. |
23 |
|
|
24 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
25 |
|
|
26 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
27 |
|
from |DOMFeature| module instead. Use |idl:Object| |
28 |
|
instead of |DOMMain:DOMObject| as well. |
29 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
30 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
31 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
32 |
|
respectively. |
33 |
|
|
34 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
35 |
|
It will be reimplemented using |DocumentTypeDefinition| |
36 |
|
class from |XDoctype| module. |
37 |
|
|
38 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
39 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
40 |
|
SimpleLS.dis: Cleaned up unused definitions. |
41 |
|
|
42 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
43 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
44 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
45 |
|
|
46 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
47 |
|
|
48 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
49 |
|
(feature.dae): Include |GenericLS| module. |
50 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
51 |
|
(ls.dae): Include |DOMLS| module. |
52 |
|
|
53 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
56 |
|
attribute are added. |
57 |
|
|
58 |
|
* XDoctype.dis (createGeneralEntity): New method. |
59 |
|
(generalEntities): New attribute. |
60 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
61 |
|
|
62 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
63 |
|
(ManakaiDOMEntityMap): New class. |
64 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
65 |
|
(createEntityReference): If there is a corresponding |Entity| |
66 |
|
node in the document type definition, then copies its |
67 |
|
subtree. |
68 |
|
|
69 |
|
* DOMXML.dis (Entity): Documentation updated. |
70 |
|
(publicId, systemId, notationName, xmlEncoding, |
71 |
|
xmlVersion): These attributes are now settable |
72 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
73 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
74 |
|
mode. |
75 |
|
(ownerDocumentTypeDefinition): New attribute |
76 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
77 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
78 |
|
|
79 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
82 |
|
|
83 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
84 |
|
|
85 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
86 |
|
(ManakaiDOMAttributes): Removed. |
87 |
|
(ManakaiDOMAttrMap): New class. |
88 |
|
(ManakaiDOMAttrMapArray): New class. |
89 |
|
(namespaceURI): Bug to return a string representation |
90 |
|
of a reference to the namespace URI string is fixed. |
91 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
92 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
93 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
94 |
|
if there is no attribute node. |
95 |
|
(createElement, createElementNS): DTD default attributes are supported. |
96 |
|
(setAttributeNode): Reimplemented. |
97 |
|
|
98 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
101 |
|
|
102 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
103 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
104 |
|
(schemaTypeInfo): Implemented for XML DTD. |
105 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
106 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
107 |
|
of the newly created |Attr| node (if any) when attribute |
108 |
|
definition is available. |
109 |
|
(doctype, documentElement): Reimplemented with tests. |
110 |
|
|
111 |
|
* XMLParser.dis: Sets [attribute type] information |
112 |
|
to created |Attr| nodes. Normalize namespace URIs |
113 |
|
when such information are available (unlikely but legal). |
114 |
|
(_HexadecimalCharacterReference): Number to character |
115 |
|
convertion bug fixed. |
116 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
117 |
|
configuration parameter to XML DTD URI. |
118 |
|
|
119 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
122 |
|
attribute definition nodes. |
123 |
|
|
124 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
125 |
|
and another |UNKNOWN_ATTR| constant is introduced |
126 |
|
for consistency with XML Infoset. |
127 |
|
|
128 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
129 |
|
|
130 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* XDoctype.dis: A bug in test code fixed. |
133 |
|
|
134 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
135 |
|
definition named node maps now can be dereferenced |
136 |
|
as if they are array or hash references. |
137 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
138 |
|
or attribute definitions. |
139 |
|
(length): Tests added. |
140 |
|
(NamedNodeMapArray): New classes. |
141 |
|
|
142 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
145 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
146 |
|
if the new node is already used for another definition. |
147 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
148 |
|
property name was incorrect. |
149 |
|
(elementTypes, attributeDefinitions): Checks to |
150 |
|
ensure the collection is empty added. |
151 |
|
|
152 |
|
* Tree.dis: Property name typos fixed. |
153 |
|
(setNamedItem, setAttributeNode): Don't return any node |
154 |
|
if it replace itself. |
155 |
|
(c:userDeterminedId): Missing definition added. |
156 |
|
|
157 |
|
* DOMXML.dis (Notation): Missing property specification |
158 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
159 |
|
|
160 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* DOMCore.dis (Test): Missing argument added. |
163 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
164 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
165 |
|
error conditions were incorrect. |
166 |
|
|
167 |
|
* .cvsignore: Dummy files added. |
168 |
|
|
169 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
172 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
173 |
|
|
174 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
175 |
|
to avoid uninitialized value warning. |
176 |
|
|
177 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
178 |
|
classes (work in progress). |
179 |
|
|
180 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
181 |
|
|
182 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* Tree.dis (getAttribute): Returns |null| if there |
185 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
186 |
|
with Web browser implementations. |
187 |
|
(getAttributeNS): It returned |null| if there |
188 |
|
is no attribute in any |For| unintentionally. It now |
189 |
|
returns an empty string in DOM levels less than or equals |
190 |
|
to three. |
191 |
|
|
192 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
193 |
|
uninitialized value or substring out of range. |
194 |
|
|
195 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
198 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
199 |
|
|
200 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
201 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
202 |
|
node to the document. |
203 |
|
(_ProcessingInstructionDTD): Appends a processing |
204 |
|
instruction node to the document type definition. |
205 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
206 |
|
|
207 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
210 |
|
code (seprated from |InputProcessor|). Now |
211 |
|
a |features| parameter's version can be specified by |
212 |
|
an array reference that contains a set of version |
213 |
|
numbers. A test added. |
214 |
|
|
215 |
|
* XMLParser.dis: A test added. |
216 |
|
|
217 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
218 |
|
|
219 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
220 |
|
because it does not work with dummy object used in the test code. |
221 |
|
|
222 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
225 |
|
namespace URI is defined for not being warned. |
226 |
|
|
227 |
|
* XDoctype.dis: New module. |
228 |
|
|
229 |
|
* DOMCore.dis (DOMStringList): Test added. |
230 |
|
|
231 |
|
* Makefile: |XDoctype.pm| added. |
232 |
|
|
233 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
234 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
235 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
236 |
|
object (it was incorrectly tested to return |null|). |
237 |
|
(EmptyNodeList.DESTROY): Removed. |
238 |
|
|
239 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
242 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
243 |
|
(appendChild, insertBefore, replaceChild): New |
244 |
|
two node types added and processing instruction nodes |
245 |
|
as document type definition node child is allowed |
246 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
247 |
|
(getNodeReference): New |interface| parameter |
248 |
|
to filter classes by interface is added. |
249 |
|
(ElementTypeDefinitionRole): New role. |
250 |
|
(AttributeDefinitionRole): New role. |
251 |
|
|
252 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
255 |
|
|
256 |
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |