1 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Tree.dis (createProcessingInstruction): Don't |
4 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
5 |
|
is |false|. |
6 |
|
|
7 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
8 |
|
It enables improved error position report. |
9 |
|
(XDO): It now includes |S+| following target name |xml| as |
10 |
|
part of the token. (PI with target starting with |xml| |
11 |
|
was unable to be placed at the beginning of the document entity.) |
12 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
13 |
|
a processing instruction node with |#INVALID| node name |
14 |
|
if target name is not given and recovered from the error. |
15 |
|
(S): Variable |$s| added. |
16 |
|
(XMLTests): Tests for XML declarations and processing |
17 |
|
instructions are added. Prints error type name if unexpected |
18 |
|
error with severity of error or fatal error has been reported. |
19 |
|
Catch unexpected exceptions thrown in parser (different |
20 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
21 |
|
for the ease of testing. |
22 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
23 |
|
stack into acount. |
24 |
|
|
25 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
28 |
|
is fixed. Although the DOM Level 3 Core specification |
29 |
|
is unclear about whether the first number is zero or one, |
30 |
|
in most programs the first line is "one" and |
31 |
|
the first column is "one", manakai follows the practice. |
32 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
33 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
34 |
|
tests (successful cases) added. |
35 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
36 |
|
properties. |
37 |
|
|
38 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
41 |
|
|
42 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* DOMCore.dis (c:erred): New property. |
45 |
|
(c:DOMErrorType): It should have been a subset |
46 |
|
of |ecore:AnyErrorCode|. |
47 |
|
|
48 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
49 |
|
|
50 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* XDoctype.dis (d:Feature): New canonical feature |
53 |
|
name |fe:XDoctype| is added. |
54 |
|
|
55 |
|
* XMLParser.dis: Predefined general entity references |
56 |
|
are implemented. Creates |Entity| nodes from general entities |
57 |
|
declared in internal subset. |Entity| nodes created from internal |
58 |
|
general parsed entities now have replacement tree. |
59 |
|
Sets |cfg:entity-reference-read-only| flag off during |
60 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
61 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
62 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
63 |
|
introduced. General entity references in attribute value literal |
64 |
|
are supported. |
65 |
|
|
66 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
69 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
70 |
|
(createEntityReference): Set |c:read-only| flag of |
71 |
|
the created entity reference, too. |
72 |
|
|
73 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
74 |
|
|
75 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
76 |
|
from |DOMFeature| module instead. Use |idl:Object| |
77 |
|
instead of |DOMMain:DOMObject| as well. |
78 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
79 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
80 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
81 |
|
respectively. |
82 |
|
|
83 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
84 |
|
It will be reimplemented using |DocumentTypeDefinition| |
85 |
|
class from |XDoctype| module. |
86 |
|
|
87 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
88 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
89 |
|
SimpleLS.dis: Cleaned up unused definitions. |
90 |
|
|
91 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
92 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
93 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
94 |
|
|
95 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
96 |
|
|
97 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
98 |
|
(feature.dae): Include |GenericLS| module. |
99 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
100 |
|
(ls.dae): Include |DOMLS| module. |
101 |
|
|
102 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
103 |
|
|
104 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
105 |
|
attribute are added. |
106 |
|
|
107 |
|
* XDoctype.dis (createGeneralEntity): New method. |
108 |
|
(generalEntities): New attribute. |
109 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
110 |
|
|
111 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
112 |
|
(ManakaiDOMEntityMap): New class. |
113 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
114 |
|
(createEntityReference): If there is a corresponding |Entity| |
115 |
|
node in the document type definition, then copies its |
116 |
|
subtree. |
117 |
|
|
118 |
|
* DOMXML.dis (Entity): Documentation updated. |
119 |
|
(publicId, systemId, notationName, xmlEncoding, |
120 |
|
xmlVersion): These attributes are now settable |
121 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
122 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
123 |
|
mode. |
124 |
|
(ownerDocumentTypeDefinition): New attribute |
125 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
126 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
127 |
|
|
128 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
131 |
|
|
132 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
133 |
|
|
134 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
135 |
|
(ManakaiDOMAttributes): Removed. |
136 |
|
(ManakaiDOMAttrMap): New class. |
137 |
|
(ManakaiDOMAttrMapArray): New class. |
138 |
|
(namespaceURI): Bug to return a string representation |
139 |
|
of a reference to the namespace URI string is fixed. |
140 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
141 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
142 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
143 |
|
if there is no attribute node. |
144 |
|
(createElement, createElementNS): DTD default attributes are supported. |
145 |
|
(setAttributeNode): Reimplemented. |
146 |
|
|
147 |
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |