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