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