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

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.117

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24