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> |
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
* DOMCore.dis (Test): Missing argument added. |
* DOMCore.dis (Test): Missing argument added. |