1 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
4 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
5 |
|
errors (including well-formedness constraint errors) are |
6 |
|
traped by the error handler. |
7 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
8 |
|
attribute of the node. Reports an error if |publidLiteral| |
9 |
|
contains a non-|pubidChar|. |
10 |
|
|
11 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
12 |
|
version |3.0|). |
13 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
14 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
15 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
16 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
17 |
|
interface (except unimplemented |notations| and |internalSubset| |
18 |
|
attributes). |
19 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
20 |
|
for compatibility with |x:DocumentType| interface. |
21 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
22 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
23 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
24 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
25 |
|
(DocumentTypeDeclaration): New interface. |
26 |
|
|
27 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
28 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
29 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
30 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
31 |
|
instead of obsolete |DocumentType.newObject|. |
32 |
|
|
33 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
34 |
|
DocumentType.publicId, DocumentType.systemId, |
35 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
36 |
|
as clones of similar attributes or methods |
37 |
|
in |MDOM:XDoctype| module. |
38 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
39 |
|
instead). |
40 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
41 |
|
is used). |
42 |
|
|
43 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
46 |
|
fatal error. |
47 |
|
|
48 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
51 |
|
defined as a |?default-token|. |
52 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
53 |
|
comment declarations, cdata sections, and |MSE| in |content| |
54 |
|
added. |
55 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
56 |
|
(get-location-from-token): |$token->{location_d}| |
57 |
|
for |?default-token| column counting support added. |
58 |
|
|
59 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
60 |
|
|
61 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* Tree.dis (createProcessingInstruction): Don't |
64 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
65 |
|
is |false|. |
66 |
|
|
67 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
68 |
|
It enables improved error position report. |
69 |
|
(XDO): It now includes |S+| following target name |xml| as |
70 |
|
part of the token. (PI with target starting with |xml| |
71 |
|
was unable to be placed at the beginning of the document entity.) |
72 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
73 |
|
a processing instruction node with |#INVALID| node name |
74 |
|
if target name is not given and recovered from the error. |
75 |
|
(S): Variable |$s| added. |
76 |
|
(XMLTests): Tests for XML declarations and processing |
77 |
|
instructions are added. Prints error type name if unexpected |
78 |
|
error with severity of error or fatal error has been reported. |
79 |
|
Catch unexpected exceptions thrown in parser (different |
80 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
81 |
|
for the ease of testing. |
82 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
83 |
|
stack into acount. |
84 |
|
|
85 |
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
* XMLParser.dis (shiftChar): Line and column number counting |
* XMLParser.dis (shiftChar): Line and column number counting |