1 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* CDATASection.pm: Removed (merged with |Text.pm|). |
4 |
|
|
5 |
|
* Text.pm (Message::DOM::Text::CDATASection): New. |
6 |
|
|
7 |
|
* Comment.pm: Removed (merged with |DOMCharacterData.pm|). |
8 |
|
|
9 |
|
* DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New. |
10 |
|
|
11 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* DOMConfiguration.pm: Support for |schema-type| |
14 |
|
and |http://suika.fam.cx/www/2006/dom-config/xml-id|. |
15 |
|
|
16 |
|
* NamedNodeMap (TIEHASH): Were missing. |
17 |
|
|
18 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* AttributeDefinition.pm (node_value): Implemented. |
21 |
|
(create_attribute_definition): Implemented. |
22 |
|
|
23 |
|
* DOMConfiguration.pm (%{}, TIEHASH, |
24 |
|
get_parameter, set_parameter, can_set_parameter, |
25 |
|
EXISTS, DELETE, parameter_names, FETCH, STORE, |
26 |
|
FIRSTKEY, LASTKEY): Implemented. |
27 |
|
|
28 |
|
* DOMDocument.pm (____new): Set |error-handler| default. |
29 |
|
(get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented. |
30 |
|
|
31 |
|
* DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns): |
32 |
|
Implemented. |
33 |
|
|
34 |
|
* DOMException.pm: Error types for |DOMConfiguration| |
35 |
|
are added. |
36 |
|
|
37 |
|
* DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New |
38 |
|
class. |
39 |
|
|
40 |
|
* DocumentType.pm (get_element_type_definition_node, |
41 |
|
get_general_entity_node, get_notation_node, |
42 |
|
set_element_type_definition_node, set_general_entity_node, |
43 |
|
set_notation_node, create_document_type_definition): Implemented. |
44 |
|
|
45 |
|
* ElementTypeDefinition.pm (get_attribute_definition_node, |
46 |
|
set_attribute_definition_node, create_element_type_definition): |
47 |
|
Implemented. |
48 |
|
|
49 |
|
* Entity.pm (create_general_entity): Implemented. |
50 |
|
|
51 |
|
* Node.pm: Constants in |OperationType| definition |
52 |
|
group are added. |
53 |
|
(manakai_language): Implemented. |
54 |
|
|
55 |
|
* NodeList.pm (Message::DOM::NodeList::GetElementsList): New |
56 |
|
class. |
57 |
|
|
58 |
|
* Notation.pm (create_notation): Implemented. |
59 |
|
|
60 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* TypeInfo.pm: New Perl module. |
63 |
|
|
64 |
|
* Attr.pm: Use |manakai_local_name| rather than |local_name| |
65 |
|
to avoid HTML5 case normalization. |
66 |
|
(is_id): Implemented. |
67 |
|
(manakai_name): New attribute. |
68 |
|
(schema_type_info): Implemented. |
69 |
|
(create_attribute_ns): Empty string as namespace URI |
70 |
|
was not supported. |
71 |
|
|
72 |
|
* DOMElement.pm (clone_node): Removed since now it is |
73 |
|
defined in |Node.pm|. |
74 |
|
(schema_type_info): Implemented. |
75 |
|
(manakai_tag_name): New attribute. |
76 |
|
(get_attribute, get_attribute_node, get_attribute_ns, |
77 |
|
get_attribute_node_ns, has_attribute, has_attribute_ns, |
78 |
|
remove_attribute, remove_attribute_ns, |
79 |
|
remove_attribute_node, set_attribute, set_attribute_ns, |
80 |
|
set_id_attribute, set_id_attribute_node, |
81 |
|
set_id_attribute_ns): Implemented. |
82 |
|
(create_element_ns): Empty string as namespace URI |
83 |
|
was not supported. |
84 |
|
|
85 |
|
2007-07-12 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* AttributeDefinition.pm (owner_element_type_definition): Implemented. |
88 |
|
|
89 |
|
* DocumentType.pm (create_document_type_definition): Initialize |
90 |
|
|public_id|, |system_id|, and |internal_subset| attributes |
91 |
|
by empty strings for compatibility with Web browsers. |
92 |
|
(create_document_type): Initialize |internal_subset| |
93 |
|
attribute by an empty string for compatibility with |
94 |
|
Web browsers. |
95 |
|
|
96 |
|
* ElementTypeDefinition.pm, Entity.pm, |
97 |
|
Notation.pm (owner_document_type_definition): Implemented. |
98 |
|
|
99 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration| |
102 |
|
feature is added for compatibility with |XMLParserTemp.pm|. |
103 |
|
|
104 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* Attr.pm (value, node_value): Now it is defined |
107 |
|
as |text_content| itself. |
108 |
|
|
109 |
|
* AttributeDefinition.pm, ElementTypeDefinition.pm, |
110 |
|
Node.pm (AUTOLOAD): Unused block is removed. |
111 |
|
|
112 |
|
* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused. |
113 |
|
|
114 |
|
* DocumentType.pm (internal_subset): Implemented. |
115 |
|
|
116 |
|
* Entity.pm (is_externally_declared, input_encoding, |
117 |
|
xml_version): Implemented. |
118 |
|
|
119 |
|
* ProcessingInstruction.pm (target, data): Implemented. |
120 |
|
|
121 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
124 |
|
(data): Reimplemented. |
125 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
126 |
|
a number of bugs. |
127 |
|
|
128 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
129 |
|
|
130 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* StringExtended.pm: New Perl module. |
133 |
|
|
134 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
135 |
|
insert_data, replace_data, substring_data): Implemented. |
136 |
|
|
137 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
138 |
|
|
139 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
140 |
|
split_text): Implemented. |
141 |
|
|
142 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* DOMElement.pm (attributes): Implemented. |
145 |
|
|
146 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
147 |
|
|
148 |
|
* DocumentType.pm (entities, general_entities, |
149 |
|
notations, element_types): Implemented. |
150 |
|
|
151 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
152 |
|
|
153 |
|
* NamedNodeMap.pm: New Perl module. |
154 |
|
|
155 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
158 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
159 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
160 |
|
insert_before, replace_child): Implemented. |
161 |
|
|
162 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
163 |
|
|
164 |
|
* Node.pm (remove_child): Implemented. |
165 |
|
|
166 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* Node.pm (==, is_equal_node): Implemented. |
169 |
|
(is_same_node): Implemented. |
170 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
171 |
|
(is_supported): Implemented. |
172 |
|
|
173 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
176 |
|
(create_document): Implemented. |
177 |
|
|
178 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
179 |
|
errors. |
180 |
|
(QNAME_NULLNS_ERR): New errors. |
181 |
|
|
182 |
|
* DocumenType.pm (create_document_type): Implemented. |
183 |
|
|
184 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
187 |
|
|
188 |
|
* DOMElement.pm (has_attribute): Alpha version. |
189 |
|
(create_element, create_element_ns): Implemented. |
190 |
|
|
191 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
192 |
|
|
193 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
194 |
|
|
195 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
196 |
|
|
197 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
200 |
|
|
201 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
202 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
203 |
|
when |{manakai_compat_mode}| is |undef|. |
204 |
|
|
205 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
206 |
|
|
207 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
208 |
|
Statements to set |$Error::Depth| are removed since they |
209 |
|
are result in "uninitialized" warnings unless |
210 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
211 |
|
Usually methods invoked in these methods does not |
212 |
|
raise any exception so that it makes no difference. |
213 |
|
|
214 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* DOMDocument.pm (adopt_node): Implemented. |
217 |
|
(doctype): Implemented. |
218 |
|
|
219 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
220 |
|
|
221 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
222 |
|
error type. |
223 |
|
|
224 |
|
* Node.pm (set_user_data): Implemented. |
225 |
|
|
226 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
229 |
|
It will be defined in the DOM Perl Binding specification |
230 |
|
as part of |DOMImplementation| interface. |
231 |
|
($HasFeature): Defined for features support. |
232 |
|
(has_feature, get_feature): Implemented. |
233 |
|
|
234 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
235 |
|
module unless necessary. |
236 |
|
(___report_error): Removed since it is not used in fact. |
237 |
|
|
238 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
239 |
|
DOMImplementationRegistry.pm: New modules. |
240 |
|
|
241 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
244 |
|
|
245 |
|
* DOMStringList.pm: New Perl module. |
246 |
|
|
247 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
250 |
|
at all. |
251 |
|
|
252 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
255 |
|
|
256 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
259 |
|
(manakai_is_html): Revised. |
260 |
|
(Document): Now it implements the |HTMLDocument| interface. |
261 |
|
(adopt_node): Alpha version. |
262 |
|
|
263 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
264 |
|
not |allowed_token|! |
265 |
|
|
266 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
267 |
|
return an |undef| even if its |attribute_definitions| |
268 |
|
list is not created. |
269 |
|
|
270 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
272 |
|
* Comment.pm (node_type): Node type was incorrect! |
273 |
|
|
274 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
275 |
|
|
276 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
277 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
278 |
|
New autoload configuration. Note that the Message::Charset::Encode |
279 |
|
module is subject to change. |
280 |
|
|
281 |
|
* XMLParserTemp.pm: Now it can be used with new version |
282 |
|
of DOM implementation. Current plan is to replace it by |
283 |
|
an XML5 parser someday. |
284 |
|
|
285 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
286 |
|
|
287 |
|
* DOMLocator.pm: New module. |
288 |
|
|
289 |
|
* DOMError.pm: New module. |
290 |
|
|
291 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
294 |
|
clone_node, compare_document_position, has_attributes, |
295 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
296 |
|
lookup_prefix, normalize): Implemented. |
297 |
|
|
298 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
299 |
|
|
300 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
301 |
|
|
302 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
303 |
|
|
304 |
|
* AttributeDefinition.pm (____new): Set an empty list |
305 |
|
to the |allowed_tokens| attribute. |
306 |
|
(allowed_token): Alpha version. |
307 |
|
|
308 |
|
* DocumentType.pm (get_element_type_definition_node, |
309 |
|
get_notation_node): ALpha version. |
310 |
|
|
311 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
312 |
|
version. |
313 |
|
|
314 |
|
* Entity.pm (notation_name): Implemented. |
315 |
|
|
316 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
319 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
320 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
321 |
|
(value): Call |text_content| for now. |
322 |
|
|
323 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
324 |
|
(declared_type, default_type): Implemented. |
325 |
|
|
326 |
|
* CharacterData.pm (____new): Allow a scalar reference |
327 |
|
as an input for the |data| attribute. |
328 |
|
(base_uri, manakai_append_text): Implemented. |
329 |
|
|
330 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
331 |
|
|
332 |
|
* DOMDocument.pm (____new): Set default values to |
333 |
|
configuration parameter whose default is true. |
334 |
|
(document_uri, input_encoding): Implemented. |
335 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
336 |
|
(base_uri, manakai_append_text, |
337 |
|
manakai_entity_base_uri, strict_error_checking, |
338 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
339 |
|
|
340 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
341 |
|
(get_attribute, get_attribute_node): Alpha version. |
342 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
343 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
344 |
|
|
345 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
346 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
347 |
|
|
348 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
349 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
350 |
|
manakai_append_text): Implemented. |
351 |
|
(element_types, general_entities, notations, |
352 |
|
set_element_type_definition_node, set_general_entity_node, |
353 |
|
set_notation_node): Alpha version. |
354 |
|
|
355 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
356 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
357 |
|
|
358 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
359 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
360 |
|
manakai_entity_uri): Implemented. |
361 |
|
|
362 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
363 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
364 |
|
|
365 |
|
* Node.pm (base_uri): Implemented. |
366 |
|
(text_content): Don't check read-only or not |
367 |
|
unless |strict_error_checking|. |
368 |
|
(manakai_append_text): Implemented. |
369 |
|
(get_feature): Alpha. |
370 |
|
(manakai_set_read_only): Implemented. |
371 |
|
|
372 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
373 |
|
manakai_declaration_base_uri): Implemented. |
374 |
|
|
375 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
376 |
|
base_uri, manakai_append_text): Implemented. |
377 |
|
|
378 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
379 |
|
|
380 |
|
* DOMConfiguration.pm: New module. |
381 |
|
|
382 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
383 |
|
an exception if the node is read-only. Delete the property |
384 |
|
if undef is specified. |
385 |
|
(prefix): Implemented. |
386 |
|
|
387 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
388 |
|
an exception if the node is read-only. Delete the property |
389 |
|
if undef is specified. |
390 |
|
(prefix): Implemented. |
391 |
|
(text_content, manakai_append_text): Old implementations are removed. |
392 |
|
|
393 |
|
* DOMCharacterData.pm (text_content): Implemented. |
394 |
|
|
395 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
396 |
|
parameter by true. |
397 |
|
(text_content): Reimplemented. |
398 |
|
(dom_config): New. |
399 |
|
|
400 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
401 |
|
|
402 |
|
* DocumentType.pm (text_content): Implemented. |
403 |
|
|
404 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
405 |
|
|
406 |
|
* Node.pm (___report_error): New method. |
407 |
|
(text_content): Implemented. |
408 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
409 |
|
|
410 |
|
* Notation.pm (text_content): Implemented. |
411 |
|
|
412 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
413 |
|
|
414 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
415 |
|
|
416 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
419 |
|
the |Message::Util::Error| class. |
420 |
|
|
421 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
422 |
|
(CLEAR): Not all items were removed. |
423 |
|
|
424 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
425 |
|
|
426 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
427 |
|
DocumentType.pm, Entity.pm, |
428 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
429 |
|
|
430 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
431 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
432 |
|
|
433 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
434 |
|
|
435 |
|
* Node.pm (==, !=): Implemented. |
436 |
|
(manakai_read_only): Implemented. |
437 |
|
(is_same_node): Implemented. |
438 |
|
(is_equal_node): Alpha version. |
439 |
|
(manakai_set_read_only): Alpha version. |
440 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
441 |
|
definitions are removed. |
442 |
|
|
443 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* Node.pm: First alpha version of implementation of attributes. |
446 |
|
|
447 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
448 |
|
|
449 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
450 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
451 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
452 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
453 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
454 |
|
node_value, node_type): Implemented. |
455 |
|
|
456 |
|
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
457 |
|
|
458 |
|
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
459 |
|
CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm, |
460 |
|
AttributeDefinition.pm: New modules. |
461 |
|
|
462 |
|
* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added. |
463 |
|
(create_attribute_definition, create_element_type_definition, |
464 |
|
create_document_type_definition, create_cdata_section, |
465 |
|
create_processing_instruction, create_entity_reference, |
466 |
|
create_general_entity, create_notation): Prototypes added. |
467 |
|
|
468 |
|
* DOMImplementation.pm (create_document_type): Prototype added. |
469 |
|
|
470 |
|
* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition' |
471 |
|
and 'Message::IF::DocumentTypeDeclaration' added. |
472 |
|
(create_document_type, create_document_type_definition): |
473 |
|
New methods. |
474 |
|
|
475 |
|
2007-06-13 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* DOMImplementation.pm, Node.pm, DOMDocument.pm, |
478 |
|
DOMElement.pm, Attr.pm, DocumentType.pm, |
479 |
|
DOMCharacterData.pm, Text.pm, Comment.pm: Copied |
480 |
|
from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>. |
481 |
|
|
482 |
|
2007-06-10 Wakaba <wakaba@suika.fam.cx> |
483 |
|
|
484 |
|
* XMLParser.dis: Default to "1.0" if <?xml version=""?> |
485 |
|
specifies unknown value and trys to recover from the error. |
486 |
|
|
487 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
488 |
|
|
489 |
|
* TreeCore.dis (manakaiLocalName): New attribute. |
490 |
|
|
491 |
|
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
492 |
|
|
493 |
|
* GenericLS.dis (GLSException): New interface. |
494 |
|
|
495 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
496 |
|
|
497 |
|
* |InputProcessor|s and |OutputProcessor|s are |
498 |
|
named so that |report| statements in Perl |
499 |
|
module outputs can be identified by name. |dis:dataType|s |
500 |
|
of |DISCore:TFQNames| are all replaced |
501 |
|
by |DISCore:QName|. |
502 |
|
|
503 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
504 |
|
|
505 |
|
* Element.dis (createElementNS): If an array reference |
506 |
|
is specified as the |qualifiedName| parameter, |
507 |
|
don't set the first item as the local name |
508 |
|
even if the second item is not specified (or |
509 |
|
specified as |undef|). |
510 |
|
(createElementNS, setAttribute, setAttributeNS, |
511 |
|
removeAttribute, removeAttributeNS, |
512 |
|
setAttributeNode, setAttributeNodeNS, |
513 |
|
removeAttributeNode, removeAttributeNodeNS): Sets |
514 |
|
or removes the |tc:contentAttributeList| value. |
515 |
|
|
516 |
|
* TreeCore.dis (AttrMap.item): Caches the result |
517 |
|
of sorting of content attribute names. |
518 |
|
(getAttrMap, getElementTypeDefNodeMap, |
519 |
|
getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed. |
520 |
|
(tc:contentAttributeList): New property. |
521 |
|
|
522 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
523 |
|
|
524 |
|
* DOMFeature.dis (ForDef): Removed. |
525 |
|
(f:provides, f:through): Removed. |
526 |
|
(Version): Removed. |
527 |
|
(implementFeature): Removed. |
528 |
|
|
529 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
530 |
|
|
531 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
532 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
533 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
534 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
535 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications |
536 |
|
are removed. |
537 |
|
|
538 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
539 |
|
|
540 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
541 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
542 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
543 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
544 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications |
545 |
|
and |DefaultFor|s are removed. |
546 |
|
|
547 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
548 |
|
|
549 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
550 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
551 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
552 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
553 |
|
SimpleLS.dis, DOMMain.dis: References |
554 |
|
to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|, |
555 |
|
|ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3| |
556 |
|
modes are removed. |
557 |
|
|
558 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
559 |
|
|
560 |
|
* CharacterData.dis, TreeCore.dis (Require): References |
561 |
|
to the |Grove.dis| module are removed. |
562 |
|
|
563 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
564 |
|
|
565 |
|
* DOMFeature.dis (f:implementation, f:revImplementation): Removed. |
566 |
|
(Require): Reference to the |Grove.dis| module is removed. |
567 |
|
|
568 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
569 |
|
|
570 |
|
* DOMCore.dis (ManakaiDOMImplementation): The |
571 |
|
class is no longer plays the role of |
572 |
|
a |mg:NodeRefRole|. Redundant |f:provides| |
573 |
|
properties are removed. |
574 |
|
|
575 |
|
2006-12-29 Wakaba <wakaba@suika.fam.cx> |
576 |
|
|
577 |
|
* TreeCore.dis, DOMCore.dis, Document.dis, |
578 |
|
Element.dis, CharacterData.dis, XML.dis, |
579 |
|
XDoctype.dis, DOMString.dis, TreeStore.dis, |
580 |
|
XMLParser.dis: Use Perl native |
581 |
|
hashs and |Scalar::Util|'s weak references in favor of |Grove.dis| |
582 |
|
for DOM nodes. See |
583 |
|
also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>. |
584 |
|
|
585 |
|
2006-12-03 Wakaba <wakaba@suika.fam.cx> |
586 |
|
|
587 |
|
* DOMFeature.dis, TreeCore.dis: Unused |role|s are removed. |
588 |
|
|
589 |
|
2006-12-02 Wakaba <wakaba@suika.fam.cx> |
590 |
|
|
591 |
|
* DOMString.dis: New module. |
592 |
|
|
593 |
|
* DOMString.pm: New file. |
594 |
|
|
595 |
|
* DOMCore.dis (min): Moved from |DOMFeature.dis|. |
596 |
|
(ImplementationRegistryVariable): Moved from |DOMFeature.dis|. |
597 |
|
Now it references the |DOMImplementationRegistry| object. |
598 |
|
(DOMImplementationRegistryVariable): Moved from |DOMMain.dis|. |
599 |
|
(DOMImplementationRegistry): New interface and |
600 |
|
class, reformed from |ImplementationRegistry| in |DOMFeature.dis| |
601 |
|
and |DOMImplementationRegistry| in |DOMMain.dis|. Note |
602 |
|
that the class no longer support |get_implementation| |
603 |
|
and |get_implementation_list| methods from |
604 |
|
the |ImplementationRegistry| interface. |
605 |
|
(DOMImplementationList): Class implemented; no |
606 |
|
longer inherits from |ImplementationList|. |
607 |
|
(DOMImplementationSource): Class implemented; no |
608 |
|
longer inherits from |ImplementationSource|. Note that |
609 |
|
the class no longer support |get_implementation| |
610 |
|
and |get_implementation_list| methods from |
611 |
|
the |ImplementationSource| interface. |
612 |
|
(DOMStringList): Removed. |
613 |
|
|
614 |
|
* DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature, |
615 |
|
ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature, |
616 |
|
ManakaiDOM:DOMXMLFeatureXML11, most part of |
617 |
|
documentation for obsolete DOM Level 3 Minimum Implementation |
618 |
|
module, obsolete property name aliases, |
619 |
|
ImplemenationRegistryVar, ImplementationRegistry, |
620 |
|
DEBUG, MIString, ImplementationList, ImplementationSource, |
621 |
|
ManakaiDOM:implID): Removed. |
622 |
|
|
623 |
|
* DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed. |
624 |
|
(DOMString): Removed. |
625 |
|
(DOMImplementationRegistryVar, DOMImplementationRegistry): Removed. |
626 |
|
|
627 |
|
* Makefile: |DOMString.pm| is added. |
628 |
|
|
629 |
|
* TreeCore.dis (is_default_namespace): |null| was |
630 |
|
returned where a false is expected (|null| is |
631 |
|
a false in Perl, but real |false| is appropriate here). |
632 |
|
|
633 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
634 |
|
|
635 |
|
* DOMCore.dis (TypeInfo, UserDataHandler): Removed. |
636 |
|
|
637 |
|
* Element.dis (TypeInfo): Moved from |DOMCore.dis|. |
638 |
|
|
639 |
|
* TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|. |
640 |
|
|
641 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
642 |
|
|
643 |
|
* DOMFeature.dis (ImplementationList, ImplementationSource, |
644 |
|
ImplementationRegistry): Parameters |features| |
645 |
|
now allow |null| (equivalent to an empty string). |
646 |
|
|
647 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
648 |
|
|
649 |
|
* CharacterData.dis (ManakaiDOMDocumentCharacterData): New |
650 |
|
class. Factory methods |createTextNode| and |createComment| |
651 |
|
are moved from |ManakaiDOMDocument|. |
652 |
|
|
653 |
|
* DOMCore.dis: References to |ManakaiDOMObject| |
654 |
|
are removed. |
655 |
|
(tc:createImplForTest): Moved from |TreeCore.dis|. |
656 |
|
(DOMImplementation.___create_node_ref): Support |
657 |
|
for the |mg:nodeRefClass| option is removed. |
658 |
|
(ManakaiDOMConfiguration.___report_error): Moved |
659 |
|
from |ManakaiDOMObject| class. |
660 |
|
|
661 |
|
* DOMFeature.dis (domidl:extends): New property. |
662 |
|
(f:getFeatureImpl): Support for |+| classes is removed. |
663 |
|
|
664 |
|
* DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed. |
665 |
|
(ManakaiDOM:ManakaiDOMObject): Removed. |
666 |
|
(DOMDataType): Removed. |
667 |
|
|
668 |
|
* Document.dis (ManakaiDOMImplementationDocument): |
669 |
|
The |createDocument| method is moved from |
670 |
|
the |ManakaiDOMImplementationTC| in |TreeCore.dis|. |
671 |
|
(ManakaiDOMDocument.___create_node_ref): Removed. |
672 |
|
(createElement, createElementNS, createAttribute, |
673 |
|
createAttributeNS, createTextNode, createComment, |
674 |
|
createCDATASection, createEntityReference, |
675 |
|
createProcessingInstruction): Class implementations |
676 |
|
are moved to each module. |
677 |
|
|
678 |
|
* Element.dis (ManakaiDOMImplementationElement): Factory |
679 |
|
methods are moved from |Document.dis|. |
680 |
|
(ManakaiDOMElement.___create_node_ref): Support |
681 |
|
for old class registry is removed. |
682 |
|
(ManakaiDOMAttr.___create_node_ref): Removed. |
683 |
|
(Attr.baseURI): Implementation |
684 |
|
for |xml:base| attribute is merged. |
685 |
|
(Attr.nodeValue, Attr.value): Implementation |
686 |
|
for |xml:id| attribute is merged. |
687 |
|
|
688 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Removed. |
689 |
|
|
690 |
|
* XDoctype.dis (ManakaiDOMImplementationXDoctype): The |
691 |
|
definition for |createDocumentType| method |
692 |
|
is moved from |TreeCore.dis|. |
693 |
|
|
694 |
|
* XML.dis (ManakaiDOMXMLDocument): Factory |
695 |
|
methods are moved from |Document.dis|. |
696 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged |
697 |
|
into |ManakaiDOMAttr| in |Element.dis|). |
698 |
|
|
699 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
700 |
|
|
701 |
|
* Element.dis (___get_node_ref): |eval|ed |require| |
702 |
|
statement was broken. |
703 |
|
|
704 |
|
* DOMFeature.dis (getImplementationList): Argument |
705 |
|
is not passed to the |getImplementation| method. |
706 |
|
|
707 |
|
* TreeStore.dis (DOMImplementationTreeStore): It |
708 |
|
did not |f:implements| the |TSFeature30| feature. |
709 |
|
|
710 |
|
* XMLParser.dis: Use |create_uri_reference| |
711 |
|
method instead of internal |_new| method |
712 |
|
to create a URI reference object. |
713 |
|
|
714 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
715 |
|
|
716 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
717 |
|
explicitly inherits |urigen:ManakaiURIImplementation| (and |
718 |
|
the |f:ManakaiMinimumImplementation| class inherited |
719 |
|
by it). The |f:Minimum| feature is ever implemented |
720 |
|
for compatibility (but is expected to be removed). |
721 |
|
Internal methods such as |___report_error| are copied from |
722 |
|
obsolete |f:MinimumImplementation| class. DOM3 |
723 |
|
methods |hasFeature| and |getFeature| are also |
724 |
|
moved from that class, but they now support no |
725 |
|
foreign classes. |
726 |
|
|
727 |
|
* DOMFeature.dis (ManakaiImplementationSource): It |
728 |
|
now |p:require|s |Message::Util::AutoLoad::Registry|. |
729 |
|
The class no longer support classes |
730 |
|
other than |ManakaiDOMImplementation|. Note |
731 |
|
that the |ImplementationRegistry| object does continue |
732 |
|
to support foreign classes via foreign classes |
733 |
|
implementing |ImplementationSource| |
734 |
|
or |DOMImplementationSource| interface. |
735 |
|
(MinimumImplementation): Removed. |
736 |
|
|
737 |
|
* DOMLS.dis (ManakaiDOMImplementationLS): It no |
738 |
|
longer inherit the |ManakaiDOMImplementation|; it |
739 |
|
is now expected to be implemented by |DOMImplementation| |
740 |
|
objects. |
741 |
|
|
742 |
|
* DOMMain.dis (null): Removed. |
743 |
|
|
744 |
|
* Document.dis (___create_node_ref): It no |
745 |
|
longer support foreign classes other |
746 |
|
than |Message::DOM::Document::ManakaiDOMDocument|. |
747 |
|
Note that document format specific DOM |
748 |
|
interfaces, if supported, should be |
749 |
|
all instances of the |Document| interface |
750 |
|
in the implementation, as defined |
751 |
|
in the Web Applications 1.0 specification (where |
752 |
|
the |HTMLDocument| interface must be implemented |
753 |
|
by all |Document| objects, even if the |Document| |
754 |
|
contains no HTML element). |
755 |
|
|
756 |
|
* GenericLS.dis (GLSImplementation): It no |
757 |
|
longer inherit the |MinimumImplementation|; it |
758 |
|
is now expected to be implemented by |DOMImplementation| |
759 |
|
objects. |
760 |
|
(createGLSParser, createGLSSerializer): Load |
761 |
|
module implementing parser or serializer |
762 |
|
if necessary. |
763 |
|
|
764 |
|
* Traversal.dis (ManakaiDOMDocumentTraversal): It no |
765 |
|
longer inherits the |ManakaiDOMDocument|; it |
766 |
|
is now expected to be implemented by |Document| |
767 |
|
objects. |
768 |
|
|
769 |
|
* XDP.dis (XDPDocument): It no longer |
770 |
|
inherits the |Document|; it is now expected |
771 |
|
to be implemented by all |Document| objects. |
772 |
|
|
773 |
|
* XDoctype.dis (ManakaiDOMDocumentXDoctype): It no |
774 |
|
longer inherits the |ManakaiDOMDocument|; it |
775 |
|
is now expected to be implemented by |Document| |
776 |
|
objects. |
777 |
|
|
778 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
779 |
|
|
780 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
781 |
|
explicitly inherits |tc:ManakaiDOMImplementationTC|. |
782 |
|
(ManakaiDOMImplementation.AUTOLOAD): New method definition. |
783 |
|
|
784 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Extends |
785 |
|
the |ManakaiDOMImplementation| class. |
786 |
|
|
787 |
|
2006-11-03 Wakaba <wakaba@suika.fam.cx> |
788 |
|
|
789 |
|
* DOMFeature.dis: Definitions for various concepts |
790 |
|
are added. |
791 |
|
|
792 |
|
* GenericLS.dis (GLSImplementation): It no |
793 |
|
longer inherits the |MinimumImplementation|; rather, |
794 |
|
any |ManakaiMinimumImplementation| object also |
795 |
|
implements |GLSImplementation| methods. |
796 |
|
|
797 |
|
* TreeStore.dis (DOMImplementationTreeStore): It no |
798 |
|
longer inherits the |DOMImplementation|; rather, |
799 |
|
any |ManakaiDOMImplementation| object also |
800 |
|
implements |DOMImplementationTreeStore| methods. |
801 |
|
|
802 |
|
2006-08-15 Wakaba <wakaba@suika.fam.cx> |
803 |
|
|
804 |
|
* TreeStore.pm: Added to the CVS repository |
805 |
|
to enable for the dis database to contain XML |
806 |
|
fragments. |
807 |
|
|
808 |
|
* Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added. |
809 |
|
|
810 |
|
* TreeStore.dis (Namespace): Namespace URI was incorrect. |
811 |
|
|
812 |
|
2006-06-18 Wakaba <wakaba@suika.fam.cx> |
813 |
|
|
814 |
|
* Traversal.dis (expandEntityReferences): Syntax was incorrect. |
815 |
|
|
816 |
|
* TreeCore.dis (manakaiReadOnly): Test assertion was incorrect. |
817 |
|
|
818 |
|
* XDP.dis (dtdText): Test assertion was incorrect. |
819 |
|
|
820 |
|
2006-05-21 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* XDP.dis (XDPEntityValue.stringify): Don't escape |
823 |
|
any |%|s in |xdp:attr-definition| children. |
824 |
|
|
825 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
826 |
|
|
827 |
|
* XDP.dis (createXDPRNIKeyword): The Perl method |
828 |
|
name property is added. |
829 |
|
|
830 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
831 |
|
|
832 |
|
* XDP.dis (createXDPIf): New method. |
833 |
|
(XDPIfElement): New interface. |
834 |
|
|
835 |
|
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
836 |
|
|
837 |
|
* XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition): |
838 |
|
New methods. |
839 |
|
|
840 |
|
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
841 |
|
|
842 |
|
* XDP.dis (XDPDocument): A number of constructor methods |
843 |
|
are added. |
844 |
|
(XDPTextDecl.dtdText): The |xml| target was missing. |
845 |
|
|
846 |
|
2006-05-14 Wakaba <wakaba@suika.fam.cx> |
847 |
|
|
848 |
|
* Traversal.dis (SerialWalker): New interface. |
849 |
|
(manakaiCreateSerialWalker): New method. |
850 |
|
|
851 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
852 |
|
|
853 |
|
* Traversal.dis (testNode): Calls |acceptNode| method |
854 |
|
rather than |&{}| dereferencing. |
855 |
|
(acceptNode): Implemented. |
856 |
|
|
857 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
858 |
|
|
859 |
|
* XDP.dis: New module. |
860 |
|
|
861 |
|
* Makefile: |XDP.dis| is added. |
862 |
|
|
863 |
|
* Traversal.dis (NodeFilter): |InputProcessor| |
864 |
|
and |OutputProcessor| are added. |
865 |
|
|
866 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
867 |
|
|
868 |
|
* Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value. |
869 |
|
(TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support |
870 |
|
is added. The |FILTER_REJECT| value is treated |
871 |
|
as |FILTER_ACCEPT| if the |currentNode| is in the |
872 |
|
rejected subtree as specified in the spec. |
873 |
|
|
874 |
|
2006-05-05 Wakaba <wakaba@suika.fam.cx> |
875 |
|
|
876 |
|
* SimpleLS.dis: An |xmlns:| prefix was missing. |
877 |
|
|
878 |
|
2006-05-04 Wakaba <wakaba@suika.fam.cx> |
879 |
|
|
880 |
|
* SimpleLS.dis: Namespace bugs are fixed. |
881 |
|
|
882 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
883 |
|
|
884 |
|
* .cvsignore: Updated. |
885 |
|
|
886 |
|
* Traversal.dis: Unused declarations are removed. |
887 |
|
|
888 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
889 |
|
|
890 |
|
* CharacterData.dis (Require): A reference to |
891 |
|
the |MDOM:Traversal| module is added. |
892 |
|
(wholeText): Implemented. |
893 |
|
|
894 |
|
2006-04-30 Wakaba <wakaba@suika.fam.cx> |
895 |
|
|
896 |
|
* Makefile: |Traversal.dis| is added. |
897 |
|
|
898 |
|
* Traversal.dis: New module. |
899 |
|
|
900 |
|
* TreeCore.dis (___report_error): Return value was |
901 |
|
not propagated. |
902 |
|
|
903 |
|
2006-04-29 Wakaba <wakaba@suika.fam.cx> |
904 |
|
|
905 |
|
* Element.dis (removeAttributeNS): A runtime error |
906 |
|
was occurred if there was no specified attribute node. |
907 |
|
|
908 |
|
* TreeCore.dis (manakaiLanguage): New attribute. |
909 |
|
|
910 |
|
2006-04-28 Wakaba <wakaba@suika.fam.cx> |
911 |
|
|
912 |
|
* TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly): |
913 |
|
New attributes. |
914 |
|
|
915 |
|
(StaticNodeList): New interface. |
916 |
|
|
917 |
|
2006-04-24 Wakaba <wakaba@suika.fam.cx> |
918 |
|
|
919 |
|
* DOMCore.dis (c:SET_TO_NULL_ERR): New error code. |
920 |
|
|
921 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
922 |
|
|
923 |
|
* SimpleLS.dis: Reimplemented. |
924 |
|
|
925 |
|
2006-04-22 Wakaba <wakaba@suika.fam.cx> |
926 |
|
|
927 |
|
* DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now |
928 |
|
a qualified name. |
929 |
|
(tc:EXTERNAL_NODE_COMPARISON_ERR): New error type. |
930 |
|
|
931 |
|
* TreeCore.dis (compareDocumentPosition): Implemented. |
932 |
|
(normalize): Implemented. |
933 |
|
(STORESIZE, CLEAR): Were not implemented for |EmptyNodeList| |
934 |
|
class. |
935 |
|
|
936 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
937 |
|
|
938 |
|
* DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed. |
939 |
|
|
940 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
941 |
|
|
942 |
|
* CharacterData.dis (length, insertData, substringData, |
943 |
|
appendData, deleteData, replaceData, splitText): Reimplemented. |
944 |
|
|
945 |
|
* DOMCore.dis (NEGATIVE_LENGTH_ERR): New error. |
946 |
|
(c:index): The definition was missing. |
947 |
|
(c:length): New property. |
948 |
|
|
949 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
950 |
|
|
951 |
|
* XMLParser.dis (close): Invoke |close| method |
952 |
|
rather than |close| function. |
953 |
|
|
954 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
955 |
|
|
956 |
|
* CharacterData.dis: New module split from |TreeCore.dis|. |
957 |
|
|
958 |
|
* CharacterData.pm: Added to the CVS repository. |
959 |
|
|
960 |
|
* TreeCore.dis: The |CharacterData|, |Text|, and |Comment| |
961 |
|
interfaces are removed. |
962 |
|
(Require): A reference to the |MDOM:CharacterData| module |
963 |
|
is added. |
964 |
|
|
965 |
|
* DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed. |
966 |
|
|
967 |
|
* DOMCore.dis (StringOutOfBoundsException): New error. |
968 |
|
|
969 |
|
* Makefile: |CharacterData.pm| is added. |
970 |
|
|
971 |
|
2006-04-09 Wakaba <wakaba@suika.fam.cx> |
972 |
|
|
973 |
|
* XMLParser.dis (Require): Requires the |MCharset:Encode| |
974 |
|
module. |
975 |
|
(parse): Set the |inputEncoding| attribute of the generated document |
976 |
|
object. |
977 |
|
(resolveLSInput default implementation): The |byteStream| |
978 |
|
and |encoding| attributes of the |LSInput| interface |
979 |
|
are now supported. |
980 |
|
(resolveLSInput): Parameters |impl| and |parser| are added. |
981 |
|
(InputFile.inputEncoding): New attribute. |
982 |
|
|
983 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
984 |
|
|
985 |
|
* Document.dis (adoptNode test): Documents were |
986 |
|
made by different documents. |
987 |
|
|
988 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
989 |
|
|
990 |
|
* XMLParser.dis: The |cfg:dtd-default-attributes| configuration |
991 |
|
parameter is changed to |cfg:dtd-default-attribute|. |
992 |
|
|
993 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
994 |
|
|
995 |
|
* TreeCore.dis: The |DOMMain:raiseException| elements |
996 |
|
are replaced by |disPerl:EXCEPTION|s. |
997 |
|
|
998 |
|
2006-04-03 Wakaba <wakaba@suika.fam.cx> |
999 |
|
|
1000 |
|
* DOMMain.dis (GetPropNode, CheckReadOnly): Removed. |
1001 |
|
|
1002 |
|
* Node.dis (cfg:dtd-default-attribute): The configuration |
1003 |
|
parameter |cfg:dtd-default-attributes| is renamed |
1004 |
|
as |cfg:dtd-default-attribute|. |
1005 |
|
(Roles): Definitions are changed so that classes |
1006 |
|
that implement those classes MUST implement the |Node| |
1007 |
|
and its subinterfaces. |
1008 |
|
(cfg:dtd-attribute-type): New configuration parameter. |
1009 |
|
|
1010 |
|
* Document.dis (adoptNode): Don't throw exception |
1011 |
|
if |strictErrorChecking| is |false|. |
1012 |
|
|
1013 |
|
* Element.dis (setAttribute, setAttributeNS): Don't |
1014 |
|
set [attribute type] if the |cfg:dtd-attribute-type| |
1015 |
|
configuration parameter is set to |false|. |
1016 |
|
(removeAttribute, removeAttributeNS, removeAttributeNode): Don't |
1017 |
|
regenerate default attribute nodes if the |cfg:dtd-default-attribute| |
1018 |
|
configuration parameter is set to |false|. |
1019 |
|
|
1020 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
1021 |
|
|
1022 |
|
* TreeStore.dis: New module. |
1023 |
|
|
1024 |
|
* Makefile: |TreeStore.dis| is added. |
1025 |
|
|
1026 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
1027 |
|
|
1028 |
|
* XMLParser.dis: Updated so that it can be used |
1029 |
|
with |TreeCore.pm|, |Document.pm|, |Element.pm|, |
1030 |
|
and |XML.pm|. Set the read-only flag to |
1031 |
|
the |DocumentType|, |Entity|, and |EntityReference| noes. |
1032 |
|
|
1033 |
|
* Node.dis (textContent): It did not handle descendant |
1034 |
|
element and entity reference nodes. |
1035 |
|
|
1036 |
|
* Element.dis, XML.dis (manakaiBaseURI.get): Its |
1037 |
|
definition has been changed to return only explicit |
1038 |
|
base URI specification. |
1039 |
|
|
1040 |
|
* DOMLS.dis (LSInput, LSOutput): They no longer |
1041 |
|
inherits the |ManakaiDOM:ManakaiDOMObject| class. |
1042 |
|
|
1043 |
|
* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed. |
1044 |
|
|
1045 |
|
* Tree.pm, DOMXML.pm: Removed. |
1046 |
|
|
1047 |
|
* TreeCore.pm, Document.pm, Element.pm: Added |
1048 |
|
to the CVS repository since they are necessary to |
1049 |
|
build the dis library. |
1050 |
|
|
1051 |
|
* Makefile: Sync'ed to new modules disposition. |
1052 |
|
|
1053 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
1054 |
|
|
1055 |
|
* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are |
1056 |
|
removed. For |Element.pm| and |Document.pm| are added. |
1057 |
|
|
1058 |
|
* Document.dis, Element.dis: New module split from |TreeCore.dis|. |
1059 |
|
|
1060 |
|
* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed. |
1061 |
|
|
1062 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
1063 |
|
|
1064 |
|
* DOMFeature.dis (getImplementation, getImplementationList): Support |
1065 |
|
for new class information variables. |
1066 |
|
(DOMLS:Generic): This old feature name is removed. |
1067 |
|
|
1068 |
|
* GenericLS.dis (createGLSParser, createGLSSerializer): Support |
1069 |
|
for new class information variables. |
1070 |
|
|
1071 |
|
* TreeCore.dis (manakaiExpandedURI): New attribute. |
1072 |
|
(Document, Element.___create_node_ref): New method |
1073 |
|
implementations. |
1074 |
|
|
1075 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
1076 |
|
|
1077 |
|
* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode): |
1078 |
|
Reimplemented. |
1079 |
|
(isId): Setter is added. |
1080 |
|
(Element.normalize): Definition copied from the |MDOM:Tree| |
1081 |
|
module. |
1082 |
|
|
1083 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
1084 |
|
|
1085 |
|
* Makefile (clean-db): New rule. |
1086 |
|
|
1087 |
|
* TreeCore.dis (setUserData): Schedule to invoke |
1088 |
|
the user data handler when the node is removed |
1089 |
|
from the memory. |
1090 |
|
(setAttribute, setAttributeNS): Set the [attribute type] |
1091 |
|
if DTD attribute definition is available. |
1092 |
|
(CharacterData members): Definitions copied from |
1093 |
|
the |MDOM:Tree| module. |
1094 |
|
|
1095 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
1096 |
|
|
1097 |
|
* DOMCore.dis (DOMStringList.==): New overloaded operator. |
1098 |
|
|
1099 |
|
* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The |
1100 |
|
class did not implement the |GetFeature| interface. |
1101 |
|
(hasFeature): The |+| prefix was not taken into account. |
1102 |
|
|
1103 |
|
* TreeCore.dis (Node): The class now inherits |
1104 |
|
the |ManakaiHasFeatureByGetFeature| class. It now |
1105 |
|
implements the |f:GetFeature| and |ecore:MUErrorTarget| |
1106 |
|
interfaces. |
1107 |
|
(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option |
1108 |
|
is supported. |
1109 |
|
(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented. |
1110 |
|
(manakaiParentElement): New attribute. |
1111 |
|
|
1112 |
|
* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype| |
1113 |
|
is removed. |
1114 |
|
(lookupPrefix): Old method implementation is removed. |
1115 |
|
|
1116 |
|
* XML.dis (CDATASection): The |mg:NodeRefRole| was |
1117 |
|
missing because of the |DISCore:stopISARecursive| property. |
1118 |
|
|
1119 |
|
* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis: |
1120 |
|
They now pass all tests included in those modules! |
1121 |
|
|
1122 |
|
2006-03-30 Wakaba <wakaba@suika.fam.cx> |
1123 |
|
|
1124 |
|
* DOMCore.dis (Require): A reference to the |MURI:Generic| |
1125 |
|
module is added. |
1126 |
|
(ManakaiDOMStringList.DESTROY): Removed (no longer necessary). |
1127 |
|
(ManakaiDOMImplementation): It now inherits |
1128 |
|
the |urigen:ManakaiURIImplementation| class and |
1129 |
|
implements the |ecore:MUErrorTarget| interface. It no |
1130 |
|
longer inherits the |ManakaiDOM:ManakaiDOMObject| class. |
1131 |
|
(ManakaiDOMImplementation.___report_error): New method. |
1132 |
|
|
1133 |
|
* DOMFeature.dis (Require): It now references the |Util:Grove| |
1134 |
|
module instead of |Util:ManakaiNode| module. |
1135 |
|
(DOMMetaImpl:ManakaiDOMImplementationRole): Removed. |
1136 |
|
(f:ManakaiMinimumImplementationCompatible): New role. |
1137 |
|
(ManakaiMinimumImplementation): Now it is built |
1138 |
|
on the new |Util:Grove| module rather than the |Util:ManakaiNode| |
1139 |
|
module. |
1140 |
|
(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module. |
1141 |
|
(c:implementation): Removed. |
1142 |
|
(f:implementation, f:revImplementation): New properties. |
1143 |
|
|
1144 |
|
* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed. |
1145 |
|
|
1146 |
|
* Tree.dis (cfg:clone-entity-reference-subtree, |
1147 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
1148 |
|
cfg:strict-document-children): Removed (moved |
1149 |
|
to the |MDOM:TreeCore| module). |
1150 |
|
|
1151 |
|
* TreeCore.dis (Require): The reference to the |MURI:Generic| |
1152 |
|
module is removed. |
1153 |
|
(ManakaiDOMImplementationTC): Some members are removed |
1154 |
|
since they are incorporated to the |c:ManakaiDOMImplementation| |
1155 |
|
or the |f:ManakaiMinimumImplementation|. |
1156 |
|
(tc:nodeRefClass): Removed (moved to the |Util:Grove| module). |
1157 |
|
(replaceChildImpl1): A typo on the removing the parent node |
1158 |
|
of the old child node is fixed. |
1159 |
|
(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature| |
1160 |
|
module). |
1161 |
|
(tc:implementation, tc:revImplementation): Removed (moved |
1162 |
|
to the |MDOM:DOMFeature| module). |
1163 |
|
(Document.appendChild, insertBefore, replaceChild): Sets |
1164 |
|
the |ownerDocument| attribute of the |tx:DocumentType| nodes. |
1165 |
|
(Attr.prefix, Element.prefix): Don't raise "uninitialized" |
1166 |
|
when the new value is |null|. |
1167 |
|
(Attr.___create_node_ref): Attribute name and |
1168 |
|
owner element type specific classes are supported (it |
1169 |
|
was partially implemented but was incorrect). |
1170 |
|
(ManakaiDOMGetElementsNodeList.item): Don't return |
1171 |
|
a node if the |index| is negative. |
1172 |
|
(setNamedItem): Various typos are fixed. |
1173 |
|
(removeNamedItem): The node was not removed orz |
1174 |
|
(cfg:clone-entity-reference-subtree, |
1175 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
1176 |
|
cfg:strict-document-children): Definitions are moved |
1177 |
|
from the |MDOM:Tree| module. Note that the tests for default |
1178 |
|
attributes still fail. |
1179 |
|
(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module. |
1180 |
|
(Attr): Role name was incorrect. |
1181 |
|
|
1182 |
|
* XDoctype.dis (setDefinitionNode): Return value was |
1183 |
|
not set. |
1184 |
|
(AttributeDefinition): Role name was incorrect. |
1185 |
|
|
1186 |
|
* XML.dis (Require): A reference to the |DISlib:DISMarkup| |
1187 |
|
module is added. |
1188 |
|
(Notation.appendChild, insertBefore, replaceChild): New method |
1189 |
|
implementations. |
1190 |
|
(Entity.appendChild, insertBefore, replaceChild): New method |
1191 |
|
implementations. |
1192 |
|
(EntityReference.appendChild, insertBefore, replaceChild): Now |
1193 |
|
they are defined as copies of ones in the |Entity| class. |
1194 |
|
(XMLBaseAttribute, XMLIdAttribute): Now they are |
1195 |
|
namespace unaware attributes. |
1196 |
|
(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes. |
1197 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References |
1198 |
|
to namespace aware attributes are added. |
1199 |
|
|
1200 |
|
2006-03-29 Wakaba <wakaba@suika.fam.cx> |
1201 |
|
|
1202 |
|
* DOMCore.dis: Namespace prefixes are changed to new ones. |
1203 |
|
|
1204 |
|
* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but |
1205 |
|
untested). |
1206 |
|
(___report_error): Reimplemented (untested). |
1207 |
|
(manakaiSetReadOnly): New method. |
1208 |
|
(Attr.___create_node_ref): New method (untested). |
1209 |
|
(Document.getFeature): |require|s the |MDOM:XML| Perl module. |
1210 |
|
(createEntityReference, cloneNode): Support for |
1211 |
|
the |cfg:entity-reference-read-only| configuration |
1212 |
|
parameter is removed; newly created entity references |
1213 |
|
are always read-only and use the |manakaiSetReadOnly| method |
1214 |
|
if desired. |
1215 |
|
(Element.manakaiBaseURI): Reimplemented (untested). |
1216 |
|
|
1217 |
|
* XDoctype.dis (createGeneralEntity, createNotation): |require|s |
1218 |
|
the |MDOM:XML| Perl module. |
1219 |
|
(DocumentTypeDefinition.___create_node_stem): Sets |
1220 |
|
the |tc:implementation| internal property if its value |
1221 |
|
is provided. The |infoset:content| internal property name |
1222 |
|
was incorrect. |
1223 |
|
(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on |
1224 |
|
read-only |NodeList| and |DOMStringList| are added |
1225 |
|
for clarification. |
1226 |
|
|
1227 |
|
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
1228 |
|
|
1229 |
|
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
1230 |
|
module is added. |
1231 |
|
(DOMStringList): Reimplemented for new |d:AttributeDefinition| |
1232 |
|
implementation (untested). |
1233 |
|
|
1234 |
|
* TreeCore.dis (baseURI): Reimplemented (untested). |
1235 |
|
(Roles): Definitions added. |
1236 |
|
|
1237 |
|
* XDoctype.dis (Require): References to the |MDOM:TreeCore| |
1238 |
|
and |MDOM:XML| modules are added. Reference to the |MDOM:Tree| |
1239 |
|
module is removed. |
1240 |
|
(DocumentXDoctype): Reimplemented (untested). |
1241 |
|
(DocumentTypeDefinition, DocumentTypeDeclaration): |
1242 |
|
Reimlemented (untested). |
1243 |
|
(ElementTypeDefinition, AttributeDefinition): Reimplemented (untested). |
1244 |
|
|
1245 |
|
* XML.dis (FeatureDef): New features (definitions copied |
1246 |
|
from the |MDOM:DOMXML| module). |
1247 |
|
(DocumentType): New interface (definition copied from |
1248 |
|
the |MDOM:DOMXML| module). |
1249 |
|
(CDATASection, Notation, Entity, EntityReference, ProcessingInstruction): |
1250 |
|
Reimplemented (untested). |
1251 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested). |
1252 |
|
|
1253 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
1254 |
|
|
1255 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
1256 |
|
|
1257 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
1258 |
|
|
1259 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
1260 |
|
(Text, DocumentFragment, Comment): Most members are |
1261 |
|
reimplemented (untested). |
1262 |
|
|
1263 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
1264 |
|
|
1265 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
1266 |
|
removed to sync with DOM Level 3 Core specification. |
1267 |
|
|
1268 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
1269 |
|
(GetElementsNodeList): Reimplemented (untested). |
1270 |
|
|
1271 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
1272 |
|
|
1273 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
1274 |
|
parameter must also affect on |manakaiAppendText| |
1275 |
|
and |textContent| on |Document| nodes. |
1276 |
|
|
1277 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
1278 |
|
parameter changes the class to |bless|. |
1279 |
|
(Node): Most methods are reimplemented. (Untested) |
1280 |
|
(CharacterData, Attr): Most methods and attributes are |
1281 |
|
reimplemented. (Untested) |
1282 |
|
|
1283 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
1284 |
|
reimplemented (untested). |
1285 |
|
|
1286 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
1287 |
|
|
1288 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
1289 |
|
(untested). |
1290 |
|
|
1291 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
1292 |
|
|
1293 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
1294 |
|
a qualified name. |
1295 |
|
|
1296 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
1297 |
|
the prefix if it is an empty string. (Note that |
1298 |
|
it is defined as implementation dependent in |
1299 |
|
DOM Level 3 Core specification). |
1300 |
|
|
1301 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
1302 |
|
module. |
1303 |
|
(Node): Attributes are reimplemented (untested). |
1304 |
|
|
1305 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
1306 |
|
module. |
1307 |
|
(Node): Attributes are reimplemented (untested). |
1308 |
|
(Entity, Notation): New interfaces. |
1309 |
|
|
1310 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
1311 |
|
|
1312 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
1313 |
|
|
1314 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
1315 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
1316 |
|
replaceChild, removeChild, createDocumentFragment, |
1317 |
|
createEntityReference, createProcessingInstruction, |
1318 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
1319 |
|
(NodeList, DocumentFragment): New interfaces. |
1320 |
|
|
1321 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
1322 |
|
|
1323 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
1324 |
|
|
1325 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
1326 |
|
(createAttributeNS, createTextNode, createComment, |
1327 |
|
createCDATASection): New methods. |
1328 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
1329 |
|
|
1330 |
|
* Makefile: |XML.dis| is added. |
1331 |
|
|
1332 |
|
* XML.dis: New module. |
1333 |
|
|
1334 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
1335 |
|
|
1336 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
1337 |
|
|
1338 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
1339 |
|
|
1340 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
1341 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
1342 |
|
(Element): New interface. |
1343 |
|
(createElementNS): New method. |
1344 |
|
(strictErrorChecking): New. |
1345 |
|
|
1346 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
1347 |
|
|
1348 |
|
* Makefile: |TreeCore.dis| is added. |
1349 |
|
|
1350 |
|
* TreeCore.dis: New module. |
1351 |
|
|
1352 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
1353 |
|
|
1354 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
1355 |
|
parameter. |
1356 |
|
|
1357 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
1358 |
|
|
1359 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
1360 |
|
data types added to configuration parameters. |
1361 |
|
|
1362 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
1363 |
|
|
1364 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
1365 |
|
a |DISSource:ResourceProperty|. |
1366 |
|
(c:anyDOMConfigurationParameter): New property. |
1367 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
1368 |
|
the |c:anyDOMConfigurationParameter| property. |
1369 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
1370 |
|
|
1371 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
1372 |
|
|
1373 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
1374 |
|
|
1375 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
1376 |
|
are removed. |
1377 |
|
|
1378 |
|
* GenericLS.pm: Added to the CVS repository since |
1379 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
1380 |
|
|
1381 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
1382 |
|
|
1383 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
1384 |
|
method. |
1385 |
|
|
1386 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
1387 |
|
|
1388 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
1389 |
|
|
1390 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
1391 |
|
|
1392 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
1393 |
|
implementations are added. |
1394 |
|
|
1395 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
1396 |
|
implementations are added. |
1397 |
|
|
1398 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
1399 |
|
implementations are added. |
1400 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
1401 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
1402 |
|
(cfg:strict-document-children): New configuration parameter. |
1403 |
|
|
1404 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
1405 |
|
|
1406 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
1407 |
|
|
1408 |
|
* Tree.dis (replaceChild): Method implementations are added. |
1409 |
|
|
1410 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
1411 |
|
|
1412 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
1413 |
|
|
1414 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
1415 |
|
definitions. |
1416 |
|
|
1417 |
|
* XDoctype.dis (insertBefore): New method implementation. |
1418 |
|
|
1419 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
1420 |
|
|
1421 |
|
* DOMXML.dis (insertBefore): Method implementations |
1422 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
1423 |
|
|
1424 |
|
* Tree.dis (insertBefore): Method implementation |
1425 |
|
for |CharacterData| nodes is added. |
1426 |
|
|
1427 |
|
* XDoctype.dis (insertBefore): Method implementation |
1428 |
|
for |ElementTypeDefinition| nodes is added. |
1429 |
|
|
1430 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
1431 |
|
|
1432 |
|
* XDoctype.dis (appendChild): New method implementation. |
1433 |
|
|
1434 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
1435 |
|
|
1436 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
1437 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
1438 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
1439 |
|
|
1440 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
1441 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
1442 |
|
Notation.appendChild): New method implementation. |
1443 |
|
|
1444 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
1445 |
|
|
1446 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
1447 |
|
|
1448 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
1449 |
|
|
1450 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
1451 |
|
|
1452 |
|
* Tree.dis (createAttribute, createAttributeNS, |
1453 |
|
setAttribute, setAttributeNS): They now supports |
1454 |
|
the |cfg:xml-id| configuration parameter. |
1455 |
|
(cfg:xml-id): New configuration parameter. |
1456 |
|
|
1457 |
|
* XDoctype.dis (createAttributeDefinition): It now |
1458 |
|
supports the |cfg:xml-id| configuration parameter. |
1459 |
|
|
1460 |
|
* XMLParser.dis (parse): It now supports |
1461 |
|
the |cfg:xml-id| configuration parameter. |
1462 |
|
|
1463 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
1464 |
|
|
1465 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
1466 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
1467 |
|
document created. |
1468 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
1469 |
|
property of the created node. |
1470 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
1471 |
|
of the created node. |
1472 |
|
(ls-input-to-input-file.default): Sets the resolved |
1473 |
|
system identifier to the |documentURI| attribute if available. |
1474 |
|
Sets the |baseURI| attribute if available. |
1475 |
|
|
1476 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
1477 |
|
|
1478 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
1479 |
|
(Node.baseURI): New attribute implementations. |
1480 |
|
(declarationBaseURI): Setter is added. |
1481 |
|
(manakaiDeclarationBaseURI): New attribute. |
1482 |
|
|
1483 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
1484 |
|
module is added. |
1485 |
|
(Node.baseURI): The implementation is revised. |
1486 |
|
(getNodeReference): Attribute node classes specialized |
1487 |
|
to attribute names are supported. |
1488 |
|
(contentBaseURI, htmlBaseURI): Removed. |
1489 |
|
(manakaiEntityBaseURI): New attribute. |
1490 |
|
(ManakaiDOMImplementationDocument): It now inherits |
1491 |
|
the |urigen:URIImplementation| class. |
1492 |
|
|
1493 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
1494 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
1495 |
|
one. |
1496 |
|
|
1497 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
1498 |
|
module is added. |
1499 |
|
(DocumentType.implementation): New attribute. |
1500 |
|
(Node.baseURI): Implementations are added. |
1501 |
|
(manakaiDeclarationBaseURI): New attributes. |
1502 |
|
(manakaiEntityBaseURI): New attributes. |
1503 |
|
(manakaiEntityURI): New attribute. |
1504 |
|
(manakaiExternal): New attribute. |
1505 |
|
(manakaiBaseURI): New attribute. |
1506 |
|
(ManakaiDOMXMLBaseAttr): New class. |
1507 |
|
|
1508 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
1509 |
|
|
1510 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
1511 |
|
module was missing. |
1512 |
|
|
1513 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
1514 |
|
|
1515 |
|
* Makefile (distclean): New rule. |
1516 |
|
|
1517 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
1518 |
|
|
1519 |
|
* DOMLS.dis: Removed from the CVS repository, since |
1520 |
|
it has been no longer required to make the |daf| system |
1521 |
|
itself. |
1522 |
|
|
1523 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
1524 |
|
|
1525 |
|
* Makefile: Revised for new |daf| database format. |
1526 |
|
|
1527 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
1528 |
|
|
1529 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
1530 |
|
module is added. |
1531 |
|
|
1532 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
1533 |
|
|
1534 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
1535 |
|
by mistake. |
1536 |
|
|
1537 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
1538 |
|
|
1539 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
1540 |
|
feature. |
1541 |
|
|
1542 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
1543 |
|
|
1544 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
1545 |
|
(DOMImplementationLS.createLSParser): Implemented. |
1546 |
|
(DOMImplementationLS.createLSInput): Revised. |
1547 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
1548 |
|
|
1549 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
1550 |
|
|
1551 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
1552 |
|
|
1553 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
1554 |
|
is introduced. |
1555 |
|
(async, busy): Implemented. |
1556 |
|
(parseString): Removed. |
1557 |
|
(parse, parseURI): Implemented. |
1558 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
1559 |
|
(shiftChar): Gets character from current file handle |
1560 |
|
rather than replacement text. Don't normalize |
1561 |
|
line break characters for internal entities. Don't |
1562 |
|
throw |xp:wf-legal-literal-character| error |
1563 |
|
for |RestrictedChar| appearing in internal entities. |
1564 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
1565 |
|
(_EntityDeclaration): Copy document URI and base URI |
1566 |
|
to the entity's |$decl| object. |
1567 |
|
(ParseError): New code fragment. |
1568 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
1569 |
|
text. |
1570 |
|
(xp-error-lines): Don't appends text if no replacement |
1571 |
|
text is available. |
1572 |
|
(error-handler): New configuration parameter application resource. |
1573 |
|
(ManakaiDOMLSInputToInputFile): New class. |
1574 |
|
(ManakaiDOMInputFile): New class. |
1575 |
|
|
1576 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
1577 |
|
|
1578 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
1579 |
|
|
1580 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
1581 |
|
|
1582 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
1583 |
|
(parseString): Don't output |Document| warnings |
1584 |
|
during tree construction to standard error output. |
1585 |
|
|
1586 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
1587 |
|
|
1588 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
1589 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
1590 |
|
error detection is implemented. Generates |Notation| nodes |
1591 |
|
from notation declarations. |
1592 |
|
(checkNCName, checkQName): New code fragments. |
1593 |
|
|
1594 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
1595 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
1596 |
|
is |false|. |
1597 |
|
|
1598 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
1599 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
1600 |
|
|
1601 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
1602 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
1603 |
|
(Attr.specified): Setter added. |
1604 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
1605 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
1606 |
|
if |Document.strictErrorChecking| is |false|. |
1607 |
|
|
1608 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
1609 |
|
|
1610 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
1611 |
|
attribute of the |Document| node. Don't process entity |
1612 |
|
and attribute definition list declarations after |
1613 |
|
unread parameter entity reference. Warns if an attribute definition is |
1614 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
1615 |
|
flags whether predefined entities are declared or not. |
1616 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
1617 |
|
|
1618 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
1619 |
|
|
1620 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
1621 |
|
if a predefined entity declaration references an external entity. |
1622 |
|
Issues |xp:error-malformed-predefined-entity| error if |
1623 |
|
a predefined entity declaration defines different thing than |
1624 |
|
one as in XML specification. |
1625 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
1626 |
|
more than one entity declarations for an entity is found. |
1627 |
|
(WFErrDef): Now all well-formedness errors are marked |
1628 |
|
as |SEVERITY_FATAL_ERROR|. |
1629 |
|
|
1630 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
1631 |
|
predefined entity declarations. |
1632 |
|
(DocumentXDoctype.createNotation): New method. |
1633 |
|
(DocumentTypeDefinition.notations): New attribute. |
1634 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
1635 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
1636 |
|
(newNotationForTest): New code fragment. |
1637 |
|
|
1638 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
1639 |
|
(c:ManakaiDOMNotationMap): New class. |
1640 |
|
(c:ManakaiDOMNotationMapArray): New class. |
1641 |
|
(Document.allDeclarationsProcessed): New attribute. |
1642 |
|
|
1643 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
1644 |
|
(Notation): Revised. |
1645 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
1646 |
|
|
1647 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
1648 |
|
|
1649 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
1650 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
1651 |
|
if a parameter entity declaration contains |NDATA| keyword. |
1652 |
|
(setEmptyEntityState): Set |name| attribute. |
1653 |
|
|
1654 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
1655 |
|
loop even if entity replacement tree contains recursive |
1656 |
|
reference directly or indirectly. |
1657 |
|
|
1658 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
1659 |
|
|
1660 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
1661 |
|
WFC error is implemented. |
1662 |
|
|
1663 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
1664 |
|
|
1665 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
1666 |
|
configuration parameter |true| during tree construction |
1667 |
|
to ensure default attribute value is cloned as is |
1668 |
|
including entity reference subtree. |
1669 |
|
|
1670 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
1671 |
|
parameter. |
1672 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
1673 |
|
configuration parameter support is added. |
1674 |
|
|
1675 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
1676 |
|
|
1677 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
1678 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
1679 |
|
content before constructing |Entity| replacement tree. |
1680 |
|
The |xp:wf-entity-declared| well-formedness constraint |
1681 |
|
for entity references in attribute value literal is implemented. |
1682 |
|
|
1683 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
1684 |
|
|
1685 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
1686 |
|
constaraint for entity references that appear in |
1687 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
1688 |
|
attribute. |
1689 |
|
(getEmptyEntityState): New code. |
1690 |
|
|
1691 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
1692 |
|
definition is removed. |
1693 |
|
|
1694 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
1695 |
|
(EntityReference.isExpanded): Setter is added. |
1696 |
|
|
1697 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
1698 |
|
|
1699 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
1700 |
|
and |xp:wf-no-external-entity-references| well-formedness |
1701 |
|
constraints are implemented. |
1702 |
|
|
1703 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
1704 |
|
|
1705 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
1706 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
1707 |
|
errors (including well-formedness constraint errors) are |
1708 |
|
traped by the error handler. |
1709 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
1710 |
|
attribute of the node. Reports an error if |publidLiteral| |
1711 |
|
contains a non-|pubidChar|. |
1712 |
|
|
1713 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
1714 |
|
version |3.0|). |
1715 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
1716 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
1717 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
1718 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
1719 |
|
interface (except unimplemented |notations| and |internalSubset| |
1720 |
|
attributes). |
1721 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
1722 |
|
for compatibility with |x:DocumentType| interface. |
1723 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
1724 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
1725 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
1726 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
1727 |
|
(DocumentTypeDeclaration): New interface. |
1728 |
|
|
1729 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
1730 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
1731 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
1732 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
1733 |
|
instead of obsolete |DocumentType.newObject|. |
1734 |
|
|
1735 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
1736 |
|
DocumentType.publicId, DocumentType.systemId, |
1737 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
1738 |
|
as clones of similar attributes or methods |
1739 |
|
in |MDOM:XDoctype| module. |
1740 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
1741 |
|
instead). |
1742 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
1743 |
|
is used). |
1744 |
|
|
1745 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
1746 |
|
|
1747 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
1748 |
|
fatal error. |
1749 |
|
|
1750 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
1751 |
|
|
1752 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
1753 |
|
defined as a |?default-token|. |
1754 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
1755 |
|
comment declarations, cdata sections, and |MSE| in |content| |
1756 |
|
added. |
1757 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
1758 |
|
(get-location-from-token): |$token->{location_d}| |
1759 |
|
for |?default-token| column counting support added. |
1760 |
|
|
1761 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
1762 |
|
|
1763 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
1764 |
|
|
1765 |
|
* Tree.dis (createProcessingInstruction): Don't |
1766 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
1767 |
|
is |false|. |
1768 |
|
|
1769 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
1770 |
|
It enables improved error position report. |
1771 |
|
(XDO): It now includes |S+| following target name |xml| as |
1772 |
|
part of the token. (PI with target starting with |xml| |
1773 |
|
was unable to be placed at the beginning of the document entity.) |
1774 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
1775 |
|
a processing instruction node with |#INVALID| node name |
1776 |
|
if target name is not given and recovered from the error. |
1777 |
|
(S): Variable |$s| added. |
1778 |
|
(XMLTests): Tests for XML declarations and processing |
1779 |
|
instructions are added. Prints error type name if unexpected |
1780 |
|
error with severity of error or fatal error has been reported. |
1781 |
|
Catch unexpected exceptions thrown in parser (different |
1782 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
1783 |
|
for the ease of testing. |
1784 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
1785 |
|
stack into acount. |
1786 |
|
|
1787 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
1788 |
|
|
1789 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
1790 |
|
is fixed. Although the DOM Level 3 Core specification |
1791 |
|
is unclear about whether the first number is zero or one, |
1792 |
|
in most programs the first line is "one" and |
1793 |
|
the first column is "one", manakai follows the practice. |
1794 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
1795 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
1796 |
|
tests (successful cases) added. |
1797 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
1798 |
|
properties. |
1799 |
|
|
1800 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
1801 |
|
|
1802 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
1803 |
|
|
1804 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
1805 |
|
|
1806 |
|
* DOMCore.dis (c:erred): New property. |
1807 |
|
(c:DOMErrorType): It should have been a subset |
1808 |
|
of |ecore:AnyErrorCode|. |
1809 |
|
|
1810 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
1811 |
|
|
1812 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
1813 |
|
|
1814 |
|
* XDoctype.dis (d:Feature): New canonical feature |
1815 |
|
name |fe:XDoctype| is added. |
1816 |
|
|
1817 |
|
* XMLParser.dis: Predefined general entity references |
1818 |
|
are implemented. Creates |Entity| nodes from general entities |
1819 |
|
declared in internal subset. |Entity| nodes created from internal |
1820 |
|
general parsed entities now have replacement tree. |
1821 |
|
Sets |cfg:entity-reference-read-only| flag off during |
1822 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
1823 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
1824 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
1825 |
|
introduced. General entity references in attribute value literal |
1826 |
|
are supported. |
1827 |
|
|
1828 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
1829 |
|
|
1830 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
1831 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
1832 |
|
(createEntityReference): Set |c:read-only| flag of |
1833 |
|
the created entity reference, too. |
1834 |
|
|
1835 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
1836 |
|
|
1837 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
1838 |
|
from |DOMFeature| module instead. Use |idl:Object| |
1839 |
|
instead of |DOMMain:DOMObject| as well. |
1840 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
1841 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
1842 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
1843 |
|
respectively. |
1844 |
|
|
1845 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
1846 |
|
It will be reimplemented using |DocumentTypeDefinition| |
1847 |
|
class from |XDoctype| module. |
1848 |
|
|
1849 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
1850 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
1851 |
|
SimpleLS.dis: Cleaned up unused definitions. |
1852 |
|
|
1853 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
1854 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
1855 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
1856 |
|
|
1857 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
1858 |
|
|
1859 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
1860 |
|
(feature.dae): Include |GenericLS| module. |
1861 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
1862 |
|
(ls.dae): Include |DOMLS| module. |
1863 |
|
|
1864 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
1865 |
|
|
1866 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
1867 |
|
attribute are added. |
1868 |
|
|
1869 |
|
* XDoctype.dis (createGeneralEntity): New method. |
1870 |
|
(generalEntities): New attribute. |
1871 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
1872 |
|
|
1873 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
1874 |
|
(ManakaiDOMEntityMap): New class. |
1875 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
1876 |
|
(createEntityReference): If there is a corresponding |Entity| |
1877 |
|
node in the document type definition, then copies its |
1878 |
|
subtree. |
1879 |
|
|
1880 |
|
* DOMXML.dis (Entity): Documentation updated. |
1881 |
|
(publicId, systemId, notationName, xmlEncoding, |
1882 |
|
xmlVersion): These attributes are now settable |
1883 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
1884 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
1885 |
|
mode. |
1886 |
|
(ownerDocumentTypeDefinition): New attribute |
1887 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
1888 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
1889 |
|
|
1890 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
1891 |
|
|
1892 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1893 |
|
|
1894 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1895 |
|
|
1896 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
1897 |
|
(ManakaiDOMAttributes): Removed. |
1898 |
|
(ManakaiDOMAttrMap): New class. |
1899 |
|
(ManakaiDOMAttrMapArray): New class. |
1900 |
|
(namespaceURI): Bug to return a string representation |
1901 |
|
of a reference to the namespace URI string is fixed. |
1902 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
1903 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
1904 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
1905 |
|
if there is no attribute node. |
1906 |
|
(createElement, createElementNS): DTD default attributes are supported. |
1907 |
|
(setAttributeNode): Reimplemented. |
1908 |
|
|
1909 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
1910 |
|
|
1911 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
1912 |
|
|
1913 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
1914 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
1915 |
|
(schemaTypeInfo): Implemented for XML DTD. |
1916 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
1917 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
1918 |
|
of the newly created |Attr| node (if any) when attribute |
1919 |
|
definition is available. |
1920 |
|
(doctype, documentElement): Reimplemented with tests. |
1921 |
|
|
1922 |
|
* XMLParser.dis: Sets [attribute type] information |
1923 |
|
to created |Attr| nodes. Normalize namespace URIs |
1924 |
|
when such information are available (unlikely but legal). |
1925 |
|
(_HexadecimalCharacterReference): Number to character |
1926 |
|
convertion bug fixed. |
1927 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
1928 |
|
configuration parameter to XML DTD URI. |
1929 |
|
|
1930 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
1931 |
|
|
1932 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
1933 |
|
attribute definition nodes. |
1934 |
|
|
1935 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
1936 |
|
and another |UNKNOWN_ATTR| constant is introduced |
1937 |
|
for consistency with XML Infoset. |
1938 |
|
|
1939 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
1940 |
|
|
1941 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
1942 |
|
|
1943 |
|
* XDoctype.dis: A bug in test code fixed. |
1944 |
|
|
1945 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
1946 |
|
definition named node maps now can be dereferenced |
1947 |
|
as if they are array or hash references. |
1948 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
1949 |
|
or attribute definitions. |
1950 |
|
(length): Tests added. |
1951 |
|
(NamedNodeMapArray): New classes. |
1952 |
|
|
1953 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
1954 |
|
|
1955 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
1956 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
1957 |
|
if the new node is already used for another definition. |
1958 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
1959 |
|
property name was incorrect. |
1960 |
|
(elementTypes, attributeDefinitions): Checks to |
1961 |
|
ensure the collection is empty added. |
1962 |
|
|
1963 |
|
* Tree.dis: Property name typos fixed. |
1964 |
|
(setNamedItem, setAttributeNode): Don't return any node |
1965 |
|
if it replace itself. |
1966 |
|
(c:userDeterminedId): Missing definition added. |
1967 |
|
|
1968 |
|
* DOMXML.dis (Notation): Missing property specification |
1969 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
1970 |
|
|
1971 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
1972 |
|
|
1973 |
|
* DOMCore.dis (Test): Missing argument added. |
1974 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
1975 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
1976 |
|
error conditions were incorrect. |
1977 |
|
|
1978 |
|
* .cvsignore: Dummy files added. |
1979 |
|
|
1980 |
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
1981 |
|
|
1982 |
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |