1 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
4 |
|
by mistake. |
5 |
|
|
6 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
9 |
|
feature. |
10 |
|
|
11 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
12 |
|
|
13 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
14 |
|
(DOMImplementationLS.createLSParser): Implemented. |
15 |
|
(DOMImplementationLS.createLSInput): Revised. |
16 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
17 |
|
|
18 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
19 |
|
|
20 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
23 |
|
is introduced. |
24 |
|
(async, busy): Implemented. |
25 |
|
(parseString): Removed. |
26 |
|
(parse, parseURI): Implemented. |
27 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
28 |
|
(shiftChar): Gets character from current file handle |
29 |
|
rather than replacement text. Don't normalize |
30 |
|
line break characters for internal entities. Don't |
31 |
|
throw |xp:wf-legal-literal-character| error |
32 |
|
for |RestrictedChar| appearing in internal entities. |
33 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
34 |
|
(_EntityDeclaration): Copy document URI and base URI |
35 |
|
to the entity's |$decl| object. |
36 |
|
(ParseError): New code fragment. |
37 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
38 |
|
text. |
39 |
|
(xp-error-lines): Don't appends text if no replacement |
40 |
|
text is available. |
41 |
|
(error-handler): New configuration parameter application resource. |
42 |
|
(ManakaiDOMLSInputToInputFile): New class. |
43 |
|
(ManakaiDOMInputFile): New class. |
44 |
|
|
45 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
46 |
|
|
47 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
48 |
|
|
49 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
52 |
|
(parseString): Don't output |Document| warnings |
53 |
|
during tree construction to standard error output. |
54 |
|
|
55 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
58 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
59 |
|
error detection is implemented. Generates |Notation| nodes |
60 |
|
from notation declarations. |
61 |
|
(checkNCName, checkQName): New code fragments. |
62 |
|
|
63 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
64 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
65 |
|
is |false|. |
66 |
|
|
67 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
68 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
69 |
|
|
70 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
71 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
72 |
|
(Attr.specified): Setter added. |
73 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
74 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
75 |
|
if |Document.strictErrorChecking| is |false|. |
76 |
|
|
77 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
80 |
|
attribute of the |Document| node. Don't process entity |
81 |
|
and attribute definition list declarations after |
82 |
|
unread parameter entity reference. Warns if an attribute definition is |
83 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
84 |
|
flags whether predefined entities are declared or not. |
85 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
86 |
|
|
87 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
90 |
|
if a predefined entity declaration references an external entity. |
91 |
|
Issues |xp:error-malformed-predefined-entity| error if |
92 |
|
a predefined entity declaration defines different thing than |
93 |
|
one as in XML specification. |
94 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
95 |
|
more than one entity declarations for an entity is found. |
96 |
|
(WFErrDef): Now all well-formedness errors are marked |
97 |
|
as |SEVERITY_FATAL_ERROR|. |
98 |
|
|
99 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
100 |
|
predefined entity declarations. |
101 |
|
(DocumentXDoctype.createNotation): New method. |
102 |
|
(DocumentTypeDefinition.notations): New attribute. |
103 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
104 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
105 |
|
(newNotationForTest): New code fragment. |
106 |
|
|
107 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
108 |
|
(c:ManakaiDOMNotationMap): New class. |
109 |
|
(c:ManakaiDOMNotationMapArray): New class. |
110 |
|
(Document.allDeclarationsProcessed): New attribute. |
111 |
|
|
112 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
113 |
|
(Notation): Revised. |
114 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
115 |
|
|
116 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
119 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
120 |
|
if a parameter entity declaration contains |NDATA| keyword. |
121 |
|
(setEmptyEntityState): Set |name| attribute. |
122 |
|
|
123 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
124 |
|
loop even if entity replacement tree contains recursive |
125 |
|
reference directly or indirectly. |
126 |
|
|
127 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
130 |
|
WFC error is implemented. |
131 |
|
|
132 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
135 |
|
configuration parameter |true| during tree construction |
136 |
|
to ensure default attribute value is cloned as is |
137 |
|
including entity reference subtree. |
138 |
|
|
139 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
140 |
|
parameter. |
141 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
142 |
|
configuration parameter support is added. |
143 |
|
|
144 |
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
* XMLParser.dis (parseString): General |Entity| replacement |
* XMLParser.dis (parseString): General |Entity| replacement |