/[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.112 by wakaba, Sun Jan 29 07:09:23 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>
127    
128            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
129            parameter name changed to |cfg:entity-reference-read-only|.
130            (createEntityReference): Set |c:read-only| flag of
131            the created entity reference, too.
132    
133            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
134    
135            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
136            from |DOMFeature| module instead.  Use |idl:Object|
137            instead of |DOMMain:DOMObject| as well.
138            (Generic): New canonical feature name |fe:GenericLS| added.
139            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
140            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
141            respectively.
142    
143            * DOMXML.dis (entities, notations): Perl code removed.
144            It will be reimplemented using |DocumentTypeDefinition|
145            class from |XDoctype| module.
146    
147            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
148            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
149            SimpleLS.dis: Cleaned up unused definitions.
150    
151            * DOMCore.dis, DOMLS.dis (CParam): Definitions
152            for LS module moved from |DOMCore| module to |DOMLS| module.
153            This change makes |DOMCore| to |DOMLS| dependency removed.
154    
155            * .cvsignore (.html.pm, .ls.pm): Removed.
156    
157            * Makefile (.html.pm, .ls.pm): Removed.
158            (feature.dae): Include |GenericLS| module.
159            (core.dae): Don't include |DOMLS| and |GenericLS| module.
160            (ls.dae): Include |DOMLS| module.
161    
162  2006-01-29  Wakaba  <wakaba@suika.fam.cx>  2006-01-29  Wakaba  <wakaba@suika.fam.cx>
163    
164          * XMLParser.dis: Tests on default attributes and their |specified|          * XMLParser.dis: Tests on default attributes and their |specified|

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24