/[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.113 by wakaba, Sun Jan 29 13:58:52 2006 UTC revision 1.120 by wakaba, Sat Feb 11 05:05:45 2006 UTC
# Line 1  Line 1 
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>
86    
87            * XMLParser.dis (shiftChar): Line and column number counting
88            is fixed.  Although the DOM Level 3 Core specification
89            is unclear about whether the first number is zero or one,
90            in most programs the first line is "one" and
91            the first column is "one", manakai follows the practice.
92            (_XMLDeclaration): Don't set |xmlStandalone| value
93            if |standalone| pseudo-attribute value is |no|.  XML declaration
94            tests (successful cases) added.
95            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
96            properties.
97    
98    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
99    
100            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
101    
102    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
103    
104            * DOMCore.dis (c:erred): New property.
105            (c:DOMErrorType): It should have been a subset
106            of |ecore:AnyErrorCode|.
107    
108            * XMLParser.dis (XMLTests): Empty input tests added.
109    
110    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
111    
112            * XDoctype.dis (d:Feature): New canonical feature
113            name |fe:XDoctype| is added.
114    
115            * XMLParser.dis: Predefined general entity references
116            are implemented.  Creates |Entity| nodes from general entities
117            declared in internal subset.  |Entity| nodes created from internal
118            general parsed entities now have replacement tree.
119            Sets |cfg:entity-reference-read-only| flag off during
120            the tree generation.  Some parsing rules use |$self->{doc}|
121            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
122            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
123            introduced.  General entity references in attribute value literal
124            are supported.
125    
126  2006-01-29  Wakaba  <wakaba@suika.fam.cx>  2006-01-29  Wakaba  <wakaba@suika.fam.cx>
127    
128          * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration          * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.120

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24