updating to the latest module.
[mono.git] / mcs / class / Commons.Xml.Relaxng / Commons.Xml.Relaxng / ChangeLog
1 2005-04-06  Atsushi Enomoto <atsushi@ximian.com>
2
3         * RelaxngPattern.cs : fixed incorrect use of virtual.
4
5 2005-03-18  Atsushi Enomoto <atsushi@ximian.com>
6
7         * XsdDatatypeProvider.cs : quick hack to workaround not to be rejected 
8           under MS.NET because of NOTATION type (thus, NOTATION type is not
9           available in this provider).
10
11 2005-03-01  Atsushi Enomoto <atsushi@ximian.com>
12
13         * RelaxngReader.cs : there was two public namespace constant. One
14           should be obsoleted.
15
16 2005-03-01  Atsushi Enomoto <atsushi@ximian.com>
17
18         * RelaxngPattern.cs : RdpUnresolvedRef should process empty/notAllowed
19           elimination on its referenced pattern.
20
21 2005-02-27  Atsushi Enomoto <atsushi@ximian.com>
22
23         * XsdDatatypeProvider.cs : Added simpleType parameter support.
24         * RelaxngValidatingReader.cs : added ReportDetails flag to report all
25           expected element names / attribute names. Removed all unused code.
26
27 2005-02-06  Atsushi Enomoto <atsushi@ximian.com>
28
29         * RelaxngReader.cs : ns attribute on root element should also be 
30           handled as well as datatypeLibrary.
31
32 2005-02-06  Atsushi Enomoto <atsushi@ximian.com>
33
34         * RelaxngReader.cs : it was not handling datatypeLibrary attribute
35           on root element. Added DefaultNamespace handling.
36         * RelaxngGrammar.cs : added DefaultNamespace property.
37         * RelaxngPattern.cs : WriteCompact() now outputs "default namespace =..".
38
39 2005-01-26  Atsushi Enomoto <atsushi@ximian.com>
40
41         * RelaxngPattern.cs : fixed 2.0 typo.
42
43 2005-01-26  Atsushi Enomoto <atsushi@ximian.com>
44
45         * RelaxngGrammar.cs, RelaxngPattern.cs, RelaxngNameClass.cs :
46           added RelaxngPattern.WriteCompact(TextWriter) and all internal 
47           WriteRnc() overrides.
48
49 2004-12-06  Atsushi Enomoto <atsushi@ximian.com>
50
51         * RelaxngValidatingReader.cs :
52           - Existing GetLabels() was insufficient to support attribute labels
53             by design (since those state object always reflects the status
54             after Read() and inside Read() attributes are checked and attribute
55             derivatives are consumed). So just made existing stuff as obsolete.
56           - Added object GetCurrentState() that returns RdpPattern wrapper.
57           - Added Emptiable(object state) that returns whether the 
58             specified state is emptiable.
59           - Added GetElementLabels(object state) and GetAttributeLabels(object
60             state) that returns the collection of XmlQualifiedName that 
61             represents possible element names or attribute names from the
62             argument state.
63           - Added AfterOpenStartTag(state,name,ns), OpenStartTag(state,name,
64             ns), AfterAttribute(state, name, ns), Attribute(state,name,ns),
65             AfterCloseStartTag(state), CloseStartTag(state),
66             AfterEndTag(state) and EndTag(state) to simulate state transition.
67             AfterXXX() returns another state instance if the transition was
68             successful or null. XXX() returns bool that indicates if the 
69             transition was successful or not and proceeds the state in case
70             of success.
71
72 2004-12-06  Atsushi Enomoto <atsushi@ximian.com>
73
74         * RelaxngException.cs : Added new .ctor() that takes RelaxngElementBase
75           to provide target grammar component location.
76
77 2004-12-06  Atsushi Enomoto <atsushi@ximian.com>
78
79         * RelaxngNameClass.cs,
80           RelaxngPattern.cs,
81           RelaxngGrammar.cs :
82           Added related grammar component location to error message.
83           In RelaxngDefine, Compile() caused error on duplicate key on
84           Hashtable.Add().
85         * RelaxngReader.cs : In GetStrippedAttribute(), use 
86           GetAttribute(string,string).
87
88 2004-12-06  Atsushi Enomoto <atsushi@ximian.com>
89
90         * RelaxngException.cs : don't store debug string. It was so harmful
91           for performance.
92
93 2004-12-05  Atsushi Enomoto <atsushi@ximian.com>
94
95         * RelaxngValidatingReader.cs :
96           - Better way to expose API; use ExpectedElements and 
97             ExpectedAttributes of type ICollection. Now GetLabels is obsolete.
98           - Implemented notAllowed check. It might be too heavy since it
99             checks all the QNames returned by GetLabels. In such case, use
100             RoughLabelCheck = true.
101           - Added RoughLabelCheck of type bool that indicates to omit
102             notAllowed check.
103
104 2004-12-05  Atsushi Enomoto <atsushi@ximian.com>
105
106         * RelaxngValidatingReader.cs : no, it was very easy. But to avoid
107           state-changeful property, it is now bool Emptiable().
108
109 2004-12-05  Atsushi Enomoto <atsushi@ximian.com>
110
111         * RelaxngValidatingReader.cs : reverted IsEmptiable. It was not ready.
112
113 2004-12-05  Atsushi Enomoto <atsushi@ximian.com>
114
115         * RelaxngPattern.cs : added GetLabels() override to RdpUnresolvedRef.
116         * RelaxngValidatingReader.cs :
117           Added GetLabels() that collects "allowed element names and
118           attributes" at current state.
119           Added IsEmptiable that indicates whether current reader can be
120           closed by an end tag.
121
122 2004-11-28  Atsushi Enomoto <atsushi@ximian.com>
123
124         * RelaxngGrammar.cs : fixed error that happened on recompilation.
125
126 2004-07-14  Atsushi Enomoto <atsushi@ximian.com>
127
128         * RelaxngGrammar.cs : When definition is missing, the error message
129           should show what definition is missing.
130
131 2004-06-25  Atsushi Enomoto <atsushi@ximian.com>
132
133         * Misc.cs, RelaxngDatatype.cs, RelaxngDatatypeProvider.cs,
134           RelaxngDefaultDatatype.cs, RelaxngException.cs, RelaxngGrammar.cs,
135           RelaxngMergedProvider.cs, RelaxngNameClass.cs, RelaxngPattern.cs,
136           RelaxngPatternType.cs, RelaxngReader.cs, RelaxngValidatingReader.cs,
137           XsdDatatypeProvider.cs : Added/replaced novell license term.
138
139 2004-06-21  Atsushi Enomoto <atsushi@ximian.com>
140
141         * Misc.cs,
142           RelaxngPattern.cs,
143           RelaxngReader.cs :
144           Use XmlResolver (or XmlUrlResolver) directly. XmlResolver was
145           incorrectly _used_ before null check. Don't create XmlResolver
146           instance for _every_ pattern object.
147         * RelaxngPattern.cs : UnresolvedRef.ExpandRef() should return not
148           try to find target derivative pattern twice. It was the culprit of
149           infinite loop. Removed dirty switches.
150         * RelaxngGrammar.cs : code cleanup.
151
152 2004-06-17  Atsushi Enomoto <atsushi@ximian.com>
153
154         * Misc.cs, RelaxngGrammar.cs, RelaxngPattern.cs, RelaxngReader.cs :
155           Added XmlResolver property to fix bug #60334.
156           Check incrrect recursion check that caused possible infinite loop.
157
158 2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
159
160         * Misc.cs : made Util class internal.
161         * RelaxngDatatypeProvider.cs : looks commit was missing.
162         * RelaxngException.cs : made one .ctor() internal that accepts
163           RdpPattern.
164         * RelaxngNameClas.cs : Names list should not be settable.
165         * RelaxngPattern.cs : RelaxngRefPattern class is internal use only.
166         * RelaxngPatternType.cs : there is not "Include" pattern.
167
168 2004-05-30  Atsushi Enomoto <atsushi@ximian.com>
169
170         * RelaxngDatatypeProvider.cs : removed meaningless using alias.
171         * RelaxngGrammar.cs : modified ArrayList to RelaxngGrammarContentList.
172           RelaxngMergedProvider.cs : Added #if PNET switch to support non-
173           xmlschema available environment.
174         * RelaxngPattern.cs : added IGrammarContent and
175           RelaxngGrammarContentList.
176
177 2004-03-17  Atsushi Enomoto <atsushi@ximian.com>
178
179         * RelaxngNameClass.cs : Introduced RelaxngNameClassList class.
180
181 2004-03-15  Atsushi Enomoto <atsushi@ximian.com>
182
183         * RelaxngGrammar.cs,
184           RelaxngNameClass.cs,
185           RelaxngPattern.cs : Added Write() support.
186
187 2004-02-28  Atsushi Enomoto <atsushi@ximian.com>
188
189         * RelaxngReader.cs : ReadPattern() should be public.
190
191 2004-02-25  Atsushi Enomoto <atsushi@ximian.com>
192
193         * Removed 
194           - RngGrammar.cs
195           - RngNameClass.cs
196           - RngPattern.cs
197           - RngPatternType.cs
198           They are moved to RelaxngXXX.cs and improved
199
200 2004-02-25  Atsushi Enomoto <atsushi@ximian.com>
201
202         * Added 
203           - RelaxngDatatype.cs
204           - RelaxngDatatypeProvider.cs
205           - RelaxngDefaultDatatypes.cs
206           - RelaxngException.cs
207           - RelaxngGrammar.cs
208           - RelaxngMergedProvider.cs
209           - RelaxngNameClass.cs
210           - RelaxngPattern.cs
211           - RelaxngPatternType.cs
212           - XsdDatatypeProvider.cs
213         * Misc.cs,
214           RelaxngReader.cs,
215           RelaxngValidatingReader.cs : Radical design changes.
216
217         In short:
218           - API redesign (renaming RngXxx to RelaxngXxx)
219           - Strict grammar validation
220           - Datatype support (XML Schema primitive datatypes)
221           - Some derivative bugfixes such as list validation.
222
223 2003-05-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
224
225         * RelaxngReader.cs :
226           + Now skips immaterial content correctly.
227           + Removed MoveToContent().
228           + Trimming attribute values and names.
229           + Fixed ReadNameClassChoice(), ReadNameClassExcept(),
230             ReadPatternExcept (). They require one or more contents.
231           + QName resolver fix.
232           + ReadListPattern() failed to read actual content.
233         * RelaxngValidatingReader.cs :
234           + Fixed incorrect error message.
235           + Fixed incorrect attribute namespace handling.
236         * RngGrammar.cs : Some simplification stuff fix. 
237           Support for illegal recursion check.
238         * RngNameClass.cs : fixed RngNsName ctor() (argument not passed).
239         * RngPattern.cs : fixed ParentRef.Compile() (was treated same as Ref).
240
241 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
242
243         * RelaxngReader.cs : ReadExternalRef() hadn't resolved base uri.
244
245 2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
246
247         * Started.
248         * added ChangeLog, RelaxngReader.cs, RelaxngValidatingReader.cs,
249           RngGrammar.cs, RngNameClasses.cs, RngPattern.cs, RngPatternType.cs
250           and Misc.cs.
251