New test.
[mono.git] / mcs / class / Commons.Xml.Relaxng / Commons.Xml.Nvdl / ChangeLog
1 2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
2
3         * NvdlFilteredXmlReader.cs :
4           Made placeholder element as "empty" i.e. IsEmptyElement = true.
5           As long as it is at placeholder state, it keeps being placeholder
6           empty element until DetachPlaceholder() is explicitly called. It
7           makes this reader simpler.
8         * NvdlValidator.cs : (NvdlResultInterp) for AttachPlaceHolder it does
9           not have to do anything other than AttachPlaceholder().
10           (NvdlValidateInterp) Now that placeholder becomes an empty element
11           it does not have to validate content anymore at DetachPlaceholder().
12
13 2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
14
15         * NvdlReader.cs, NvdlFilteredXmlReader.cs :
16           placeHolder -> placeholder. Also reject unrecognized NVDL elements
17           in NvdlReader.
18
19 2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
20
21         * NvdlException.cs : provide BaseURI in such case that argument
22           IXmlLineInfo is XmlReader.
23         * NvdlValidator.cs : NvdlDispatcher was incorrectly replacing 
24           current section when an empty element appears (it kept such empty
25           element section).
26
27 2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
28
29         * NvdlRelaxngSupport.cs : It seems that the validating grammar for
30           planAtt should always contain a definition for virtualElement i.e.
31           it is not something that NVDL validator should provide
32           automatically. (It makes sense since RELAX NG does not support
33           attribute-only grammar definition.)
34         * NvdlFilteredXmlReader.cs : for validating attributes, filter xmlns
35           attributes out.
36
37 2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
38
39         * NvdlSimplified.cs, NvdlValidator.cs :
40           Support for revised "trigger" in FDIS was not enough. The validator
41           must not trigger such element that has a parent which could be
42           triggered (the parent does not have to be actually triggered).
43           Thus, introduced a new class SimpleTrigger which holds own qname
44           array.
45
46 2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
47
48         * NvdlSimplified.cs : according to the section 6.4.10 overriden rules
49           should be filtered out, and rules with cancelNestedAction should be
50           removed *after* filtering overriden rules out.
51
52 2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
53
54         * NvdlSimplified.cs, NvdlValidator.cs :
55           fixed several context path related bugs.
56           - Path steps must be trimmed.
57           - MatchPath() always returned false.
58           - nested mode in context is always ignored.
59
60 2006-04-11  Atsushi Enomoto <atsushi@ximian.com>
61
62         * NvdlRelaxngSupport.cs : without ReportDetails RELAX NG support
63           supplied too little information on validation error.
64
65 2006-04-11  Atsushi Enomoto <atsushi@ximian.com>
66
67         * NvdlFilteredXmlReader.cs : quick fix for r58557; it caused a big
68           NVDL validation breakage (nvdl.nvdl does not validate).
69           Removed unused and insignificant code.
70         * NvdlCompileContext.cs : removed unused field.
71
72 2006-04-03  Atsushi Enomoto <atsushi@ximian.com>
73
74         due to the request by Brian Rasumussen to report NVDL error details:
75         * NvdlFilteredXmlReader.cs : make it as IXmlLineInfo.
76         * NvdlValidationGenerator.cs :
77           (NvdlValidationProvider) made validate, schemaType and config as
78           publicly accessible.
79           (NvdlValidatorGenerator) added new HandleError() method that can
80           override error handling.
81         * NvdlValidator.cs : use it.
82         * NvdlException.cs : added new type NvdlInstanceValidationException
83           that is used to "wrap" actual validation errors to provide
84           NVDL script location information.
85         * NvdlRelaxngSupport.cs, NvdlXsdSupport.cs :
86           use those new HandleError() and NvdlInstanceValidationException.
87
88 2006-03-23  Atsushi Enomoto <atsushi@ximian.com>
89
90         * NvdlXsdSupport.cs : seems like "XmlReaderSettings.ValidationType =
91           ValidationType.Auto" does not automatically start xsd validation,
92           so set the property explicitly as ValidationType.Schema.
93
94 2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
95
96         * NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.
97
98 2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
99
100         * NvdlXsdSupport.cs : in NET_2_0 mode, use XmlReader.Create()
101           with validation support. Now MS.NET users can validate NVDL
102           that uses XSD.
103
104 2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
105
106         * NvdlSimplified.cs : (SimpleRules) huh, I made silly change to
107           access null field.
108
109 2005-12-23  Atsushi Enomoto <atsushi@ximian.com>
110
111         * NvdlFilteredXmlReader.cs, NvdlReader.cs, NvdlStructures.cs,
112           NvdlSimplified.cs, NvdlValidator.cs:
113           Reflected the latest changes in NVDL Final Draft:
114           http://www.jtc1sc34.org/repository/0694.pdf
115           - wildcard -> wildCard
116           - renamed from "PlaceHolder" to "Placeholder"
117           - trigger/@name of NCName -> trigger/@nameList of list of NCName
118
119 2005-09-30  Atsushi Enomoto <atsushi@ximian.com>
120
121         * NvdlConfig.cs : changed mime type due to the suggestion from Makoto
122           Murata.
123
124 2005-09-30  Atsushi Enomoto <atsushi@ximian.com>
125
126         * NvdlXsdSupport.cs : related fix to r51030; XmlSchema.Read() now does
127           not consume EndElement.
128
129 2005-09-25  Atsushi Enomoto <atsushi@ximian.com>
130
131         * NvdlValidationProvider.cs : GetSchemaXmlStream() should take NVDL
132           script's base URI into account to compute the actual schema URI.
133         * NvdlRelaxngSupport.cs : ditto.
134
135 2005-09-11  Atsushi Enomoto <atsushi@ximian.com>
136
137         * NvdlCompileContext.cs : make this internal.
138         * NvdlStructures.cs : surpress default constructor.
139           Make debug stuff internal.
140
141 2005-04-11  Atsushi Enomoto <atsushi@ximian.com>
142
143         * NvdlRelaxngSupport.cs : added PlanAtt validation support.
144
145 2005-04-06  Atsushi Enomoto <atsushi@ximian.com>
146
147         * NvdlValidator.cs : fixed warning.
148
149 2005-03-07  Atsushi Enomoto <atsushi@ximian.com>
150
151         * NvdlFilteredXmlReader.cs, NvdlStructures.cs, NvdlSimplified.cs :
152           "PlaceHolderNamespace" is not proper name (for "virtualElement").
153
154 2005-03-07  Atsushi Enomoto <atsushi@ximian.com>
155
156         * NvdlBuiltInValidationProvider.cs :
157           When it is "allow", it should not always return false.
158         * NvdlFilteredXmlReader.cs :
159           Added support for PlanAtt validation.
160         * NvdlConfig.cs :
161           Removed unused code.
162         * NvdlSimplified.cs :
163           Attribute default rule is "attach", not "allow". Removed unused
164           code. Added attribute validation support.
165         * NvdlValidationProvider.cs :
166           Extended MIME type check to "*/*-xml" (not only text/xml).
167           Added CreateAttributeValidator() method for "schema rewriting for
168           attribute sections" support (FCD spec 8.7.3).
169
170 2005-03-06  Atsushi Enomoto <atsushi@ximian.com>
171
172         * NvdlFilteredXmlReader.cs : code refactory.
173         * NvdlCompileContext.cs, NvdlConfig.cs, NvdlSimplified.cs,
174           NvdlValidatingReader.cs : Simplified objects are now all internal.
175         * NvdlValidator.cs : don't output debug.
176
177 2005-03-06  Atsushi Enomoto <atsushi@ximian.com>
178
179         * NvdlFilteredXmlReader.cs : New file. Supports createPlaceHolder()
180           and attBubble[I].
181         * NvdlValidator.cs : support for attachPlaceHolder.
182         * NvdlSimplified.cs,
183           NvdlStructures.cs,
184           NvdlBuiltInValidationProvider.cs : renamed namespace const.
185         * NvdlValidationProvider.cs : removed extraneous debug.
186
187 2005-03-01  Atsushi Enomoto <atsushi@ximian.com>
188
189         * NvdlStructures.cs,
190           NvdlSimplified.cs,
191           NvdlReader.cs,
192           NvdlValidatingReader.cs,
193           NvdlConfig.cs,
194           NvdlValidationProvider.cs,
195           NvdlBuiltInValidationProvider.cs,
196           NvdlRelaxngSupport.cs,
197           NvdlXsdSupport.cs,
198           NvdlException.cs,
199           NvdlValidator.cs,
200           NvdlCompileContext.cs : initial checkin.