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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24