/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.121

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24