1 |
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
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 |
* XMLParser.dis (shiftChar): Line and column number counting |
28 |
is fixed. Although the DOM Level 3 Core specification |
is fixed. Although the DOM Level 3 Core specification |
29 |
is unclear about whether the first number is zero or one, |
is unclear about whether the first number is zero or one, |