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> |
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |