/[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.107 by wakaba, Wed Jan 25 12:21:46 2006 UTC revision 1.118 by wakaba, Thu Feb 9 10:23:19 2006 UTC
# Line 1  Line 1 
1    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis (CommentDeclaration): |STRING| is now
4            defined as a |?default-token|.
5            (XMLTests): Tests for |Char - RestrictedChar| matchness,
6            comment declarations, cdata sections, and |MSE| in |content|
7            added.
8            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
9            (get-location-from-token): |$token->{location_d}|
10            for |?default-token| column counting support added.
11    
12            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
13    
14    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
15    
16            * Tree.dis (createProcessingInstruction): Don't
17            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
18            is |false|.
19    
20            * XMLParser.dis (parseString): Initializes |$self->{location}|.
21            It enables improved error position report.
22            (XDO): It now includes |S+| following target name |xml| as
23            part of the token.  (PI with target starting with |xml|
24            was unable to be placed at the beginning of the document entity.)
25            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
26            a processing instruction node with |#INVALID| node name
27            if target name is not given and recovered from the error.
28            (S): Variable |$s| added.
29            (XMLTests): Tests for XML declarations and processing
30            instructions are added.  Prints error type name if unexpected
31            error with severity of error or fatal error has been reported.
32            Catch unexpected exceptions thrown in parser (different
33            from |LSException|), prints its message, and invoke |$test->not_ok|
34            for the ease of testing.
35            (xp:get-location-from-token): Location values now take |$self->{char}|
36            stack into acount.
37            
38    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
39    
40            * XMLParser.dis (shiftChar): Line and column number counting
41            is fixed.  Although the DOM Level 3 Core specification
42            is unclear about whether the first number is zero or one,
43            in most programs the first line is "one" and
44            the first column is "one", manakai follows the practice.
45            (_XMLDeclaration): Don't set |xmlStandalone| value
46            if |standalone| pseudo-attribute value is |no|.  XML declaration
47            tests (successful cases) added.
48            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
49            properties.
50    
51    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
52    
53            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
54    
55    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
56    
57            * DOMCore.dis (c:erred): New property.
58            (c:DOMErrorType): It should have been a subset
59            of |ecore:AnyErrorCode|.
60    
61            * XMLParser.dis (XMLTests): Empty input tests added.
62    
63    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
64    
65            * XDoctype.dis (d:Feature): New canonical feature
66            name |fe:XDoctype| is added.
67    
68            * XMLParser.dis: Predefined general entity references
69            are implemented.  Creates |Entity| nodes from general entities
70            declared in internal subset.  |Entity| nodes created from internal
71            general parsed entities now have replacement tree.
72            Sets |cfg:entity-reference-read-only| flag off during
73            the tree generation.  Some parsing rules use |$self->{doc}|
74            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
75            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
76            introduced.  General entity references in attribute value literal
77            are supported.
78    
79    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
80    
81            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
82            parameter name changed to |cfg:entity-reference-read-only|.
83            (createEntityReference): Set |c:read-only| flag of
84            the created entity reference, too.
85    
86            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
87    
88            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
89            from |DOMFeature| module instead.  Use |idl:Object|
90            instead of |DOMMain:DOMObject| as well.
91            (Generic): New canonical feature name |fe:GenericLS| added.
92            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
93            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
94            respectively.
95    
96            * DOMXML.dis (entities, notations): Perl code removed.
97            It will be reimplemented using |DocumentTypeDefinition|
98            class from |XDoctype| module.
99    
100            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
101            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
102            SimpleLS.dis: Cleaned up unused definitions.
103    
104            * DOMCore.dis, DOMLS.dis (CParam): Definitions
105            for LS module moved from |DOMCore| module to |DOMLS| module.
106            This change makes |DOMCore| to |DOMLS| dependency removed.
107    
108            * .cvsignore (.html.pm, .ls.pm): Removed.
109    
110            * Makefile (.html.pm, .ls.pm): Removed.
111            (feature.dae): Include |GenericLS| module.
112            (core.dae): Don't include |DOMLS| and |GenericLS| module.
113            (ls.dae): Include |DOMLS| module.
114    
115    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
116    
117            * XMLParser.dis: Tests on default attributes and their |specified|
118            attribute are added.
119    
120            * XDoctype.dis (createGeneralEntity): New method.
121            (generalEntities): New attribute.
122            (getGeneralEntityNode, setGeneralEntityNode): New methods.
123    
124            * Tree.dis (ManakaiDOMEntities): Removed.
125            (ManakaiDOMEntityMap): New class.
126            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
127            (createEntityReference): If there is a corresponding |Entity|
128            node in the document type definition, then copies its
129            subtree.
130    
131            * DOMXML.dis (Entity): Documentation updated.
132            (publicId, systemId, notationName, xmlEncoding,
133            xmlVersion): These attributes are now settable
134            if |ManakaiDOM:ManakaiDOMLatest| mode.
135            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
136            mode.
137            (ownerDocumentTypeDefinition): New attribute
138            for |ManakaiDOM:ManakaiDOMLatest| mode.
139            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
140    
141    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
142    
143            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
144    
145            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
146    
147            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
148            (ManakaiDOMAttributes): Removed.
149            (ManakaiDOMAttrMap): New class.
150            (ManakaiDOMAttrMapArray): New class.
151            (namespaceURI): Bug to return a string representation
152            of a reference to the namespace URI string is fixed.
153            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
154            (removeAttribute, removeAttributeNS): DTD default attributes
155            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
156            if there is no attribute node.
157            (createElement, createElementNS): DTD default attributes are supported.
158            (setAttributeNode): Reimplemented.
159    
160    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
161    
162            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
163    
164            * Tree.dis (STORESIZE): Index bound bug fixed.
165            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
166            (schemaTypeInfo): Implemented for XML DTD.
167            (isId): Returns |true| if [attribute type] is |ID|.
168            (setAttribute, setAttributeNS): Sets [attribute type]
169            of the newly created |Attr| node (if any) when attribute
170            definition is available.
171            (doctype, documentElement): Reimplemented with tests.
172    
173            * XMLParser.dis: Sets [attribute type] information
174            to created |Attr| nodes.  Normalize namespace URIs
175            when such information are available (unlikely but legal).
176            (_HexadecimalCharacterReference): Number to character
177            convertion bug fixed.
178            (_DocumentTypeDeclaration): Sets |schema-type|
179            configuration parameter to XML DTD URI.
180    
181    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
182    
183            * XMLParser.dis (_AttlistDeclaration): Now it can generate
184            attribute definition nodes.
185    
186            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
187            and another |UNKNOWN_ATTR| constant is introduced
188            for consistency with XML Infoset.
189    
190            * DOMCore.dis (TypeInfo): Documentation updated.
191    
192    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
193    
194            * XDoctype.dis: A bug in test code fixed.
195    
196            * Tree.dis (NamedNodeMap): Element type or attribute
197            definition named node maps now can be dereferenced
198            as if they are array or hash references.
199            (removeNamedItem, item, ___report_error): Implemented for element type
200            or attribute definitions.
201            (length): Tests added.
202            (NamedNodeMapArray): New classes.
203    
204  2006-01-25  Wakaba  <wakaba@suika.fam.cx>  2006-01-25  Wakaba  <wakaba@suika.fam.cx>
205    
206          * XDoctype.dis (setElementTypeDefinitionNode,          * XDoctype.dis (setElementTypeDefinitionNode,

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.118

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24