1 2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
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().
13 2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
15 * NvdlReader.cs, NvdlFilteredXmlReader.cs :
16 placeHolder -> placeholder. Also reject unrecognized NVDL elements
19 2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
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
27 2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
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
37 2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
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
46 2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
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.
52 2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
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.
60 2006-04-11 Atsushi Enomoto <atsushi@ximian.com>
62 * NvdlRelaxngSupport.cs : without ReportDetails RELAX NG support
63 supplied too little information on validation error.
65 2006-04-11 Atsushi Enomoto <atsushi@ximian.com>
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.
72 2006-04-03 Atsushi Enomoto <atsushi@ximian.com>
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
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.
88 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
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.
94 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
96 * NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.
98 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
100 * NvdlXsdSupport.cs : in NET_2_0 mode, use XmlReader.Create()
101 with validation support. Now MS.NET users can validate NVDL
104 2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
106 * NvdlSimplified.cs : (SimpleRules) huh, I made silly change to
109 2005-12-23 Atsushi Enomoto <atsushi@ximian.com>
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
119 2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
121 * NvdlConfig.cs : changed mime type due to the suggestion from Makoto
124 2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
126 * NvdlXsdSupport.cs : related fix to r51030; XmlSchema.Read() now does
127 not consume EndElement.
129 2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
131 * NvdlValidationProvider.cs : GetSchemaXmlStream() should take NVDL
132 script's base URI into account to compute the actual schema URI.
133 * NvdlRelaxngSupport.cs : ditto.
135 2005-09-11 Atsushi Enomoto <atsushi@ximian.com>
137 * NvdlCompileContext.cs : make this internal.
138 * NvdlStructures.cs : surpress default constructor.
139 Make debug stuff internal.
141 2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
143 * NvdlRelaxngSupport.cs : added PlanAtt validation support.
145 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
147 * NvdlValidator.cs : fixed warning.
149 2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
151 * NvdlFilteredXmlReader.cs, NvdlStructures.cs, NvdlSimplified.cs :
152 "PlaceHolderNamespace" is not proper name (for "virtualElement").
154 2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
156 * NvdlBuiltInValidationProvider.cs :
157 When it is "allow", it should not always return false.
158 * NvdlFilteredXmlReader.cs :
159 Added support for PlanAtt validation.
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).
170 2005-03-06 Atsushi Enomoto <atsushi@ximian.com>
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.
177 2005-03-06 Atsushi Enomoto <atsushi@ximian.com>
179 * NvdlFilteredXmlReader.cs : New file. Supports createPlaceHolder()
181 * NvdlValidator.cs : support for attachPlaceHolder.
184 NvdlBuiltInValidationProvider.cs : renamed namespace const.
185 * NvdlValidationProvider.cs : removed extraneous debug.
187 2005-03-01 Atsushi Enomoto <atsushi@ximian.com>
192 NvdlValidatingReader.cs,
194 NvdlValidationProvider.cs,
195 NvdlBuiltInValidationProvider.cs,
196 NvdlRelaxngSupport.cs,
200 NvdlCompileContext.cs : initial checkin.