1 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XDoctype.dis (appendChild): New method implementation. |
4 |
|
|
5 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
8 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
9 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
10 |
|
|
11 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
12 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
13 |
|
Notation.appendChild): New method implementation. |
14 |
|
|
15 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
16 |
|
|
17 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
18 |
|
|
19 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
22 |
|
|
23 |
|
* Tree.dis (createAttribute, createAttributeNS, |
24 |
|
setAttribute, setAttributeNS): They now supports |
25 |
|
the |cfg:xml-id| configuration parameter. |
26 |
|
(cfg:xml-id): New configuration parameter. |
27 |
|
|
28 |
|
* XDoctype.dis (createAttributeDefinition): It now |
29 |
|
supports the |cfg:xml-id| configuration parameter. |
30 |
|
|
31 |
|
* XMLParser.dis (parse): It now supports |
32 |
|
the |cfg:xml-id| configuration parameter. |
33 |
|
|
34 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
37 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
38 |
|
document created. |
39 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
40 |
|
property of the created node. |
41 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
42 |
|
of the created node. |
43 |
|
(ls-input-to-input-file.default): Sets the resolved |
44 |
|
system identifier to the |documentURI| attribute if available. |
45 |
|
Sets the |baseURI| attribute if available. |
46 |
|
|
47 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
50 |
|
(Node.baseURI): New attribute implementations. |
51 |
|
(declarationBaseURI): Setter is added. |
52 |
|
(manakaiDeclarationBaseURI): New attribute. |
53 |
|
|
54 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
55 |
|
module is added. |
56 |
|
(Node.baseURI): The implementation is revised. |
57 |
|
(getNodeReference): Attribute node classes specialized |
58 |
|
to attribute names are supported. |
59 |
|
(contentBaseURI, htmlBaseURI): Removed. |
60 |
|
(manakaiEntityBaseURI): New attribute. |
61 |
|
(ManakaiDOMImplementationDocument): It now inherits |
62 |
|
the |urigen:URIImplementation| class. |
63 |
|
|
64 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
65 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
66 |
|
one. |
67 |
|
|
68 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
69 |
|
module is added. |
70 |
|
(DocumentType.implementation): New attribute. |
71 |
|
(Node.baseURI): Implementations are added. |
72 |
|
(manakaiDeclarationBaseURI): New attributes. |
73 |
|
(manakaiEntityBaseURI): New attributes. |
74 |
|
(manakaiEntityURI): New attribute. |
75 |
|
(manakaiExternal): New attribute. |
76 |
|
(manakaiBaseURI): New attribute. |
77 |
|
(ManakaiDOMXMLBaseAttr): New class. |
78 |
|
|
79 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
82 |
|
module was missing. |
83 |
|
|
84 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
85 |
|
|
86 |
|
* Makefile (distclean): New rule. |
87 |
|
|
88 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* DOMLS.dis: Removed from the CVS repository, since |
91 |
|
it has been no longer required to make the |daf| system |
92 |
|
itself. |
93 |
|
|
94 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* Makefile: Revised for new |daf| database format. |
97 |
|
|
98 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
101 |
|
module is added. |
102 |
|
|
103 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
106 |
|
by mistake. |
107 |
|
|
108 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
111 |
|
feature. |
112 |
|
|
113 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
114 |
|
|
115 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
116 |
|
(DOMImplementationLS.createLSParser): Implemented. |
117 |
|
(DOMImplementationLS.createLSInput): Revised. |
118 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
119 |
|
|
120 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
121 |
|
|
122 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
125 |
|
is introduced. |
126 |
|
(async, busy): Implemented. |
127 |
|
(parseString): Removed. |
128 |
|
(parse, parseURI): Implemented. |
129 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
130 |
|
(shiftChar): Gets character from current file handle |
131 |
|
rather than replacement text. Don't normalize |
132 |
|
line break characters for internal entities. Don't |
133 |
|
throw |xp:wf-legal-literal-character| error |
134 |
|
for |RestrictedChar| appearing in internal entities. |
135 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
136 |
|
(_EntityDeclaration): Copy document URI and base URI |
137 |
|
to the entity's |$decl| object. |
138 |
|
(ParseError): New code fragment. |
139 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
140 |
|
text. |
141 |
|
(xp-error-lines): Don't appends text if no replacement |
142 |
|
text is available. |
143 |
|
(error-handler): New configuration parameter application resource. |
144 |
|
(ManakaiDOMLSInputToInputFile): New class. |
145 |
|
(ManakaiDOMInputFile): New class. |
146 |
|
|
147 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
148 |
|
|
149 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
150 |
|
|
151 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
154 |
|
(parseString): Don't output |Document| warnings |
155 |
|
during tree construction to standard error output. |
156 |
|
|
157 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
160 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
161 |
|
error detection is implemented. Generates |Notation| nodes |
162 |
|
from notation declarations. |
163 |
|
(checkNCName, checkQName): New code fragments. |
164 |
|
|
165 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
166 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
167 |
|
is |false|. |
168 |
|
|
169 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
170 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
171 |
|
|
172 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
173 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
174 |
|
(Attr.specified): Setter added. |
175 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
176 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
177 |
|
if |Document.strictErrorChecking| is |false|. |
178 |
|
|
179 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
182 |
|
attribute of the |Document| node. Don't process entity |
183 |
|
and attribute definition list declarations after |
184 |
|
unread parameter entity reference. Warns if an attribute definition is |
185 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
186 |
|
flags whether predefined entities are declared or not. |
187 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
188 |
|
|
189 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
192 |
|
if a predefined entity declaration references an external entity. |
193 |
|
Issues |xp:error-malformed-predefined-entity| error if |
194 |
|
a predefined entity declaration defines different thing than |
195 |
|
one as in XML specification. |
196 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
197 |
|
more than one entity declarations for an entity is found. |
198 |
|
(WFErrDef): Now all well-formedness errors are marked |
199 |
|
as |SEVERITY_FATAL_ERROR|. |
200 |
|
|
201 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
202 |
|
predefined entity declarations. |
203 |
|
(DocumentXDoctype.createNotation): New method. |
204 |
|
(DocumentTypeDefinition.notations): New attribute. |
205 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
206 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
207 |
|
(newNotationForTest): New code fragment. |
208 |
|
|
209 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
210 |
|
(c:ManakaiDOMNotationMap): New class. |
211 |
|
(c:ManakaiDOMNotationMapArray): New class. |
212 |
|
(Document.allDeclarationsProcessed): New attribute. |
213 |
|
|
214 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
215 |
|
(Notation): Revised. |
216 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
217 |
|
|
218 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
221 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
222 |
|
if a parameter entity declaration contains |NDATA| keyword. |
223 |
|
(setEmptyEntityState): Set |name| attribute. |
224 |
|
|
225 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
226 |
|
loop even if entity replacement tree contains recursive |
227 |
|
reference directly or indirectly. |
228 |
|
|
229 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
231 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
232 |
|
WFC error is implemented. |
233 |
|
|
234 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
237 |
|
configuration parameter |true| during tree construction |
238 |
|
to ensure default attribute value is cloned as is |
239 |
|
including entity reference subtree. |
240 |
|
|
241 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
242 |
|
parameter. |
243 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
244 |
|
configuration parameter support is added. |
245 |
|
|
246 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
249 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
250 |
|
content before constructing |Entity| replacement tree. |
251 |
|
The |xp:wf-entity-declared| well-formedness constraint |
252 |
|
for entity references in attribute value literal is implemented. |
253 |
|
|
254 |
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |