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