* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Commons.Xml.Relaxng / Commons.Xml.Nvdl / ChangeLog
index 0898417180cb74922f58136a8078a9a7856c3a59..4b520d130d67bbc0701df38a0bff178e816d92e2 100644 (file)
@@ -1,3 +1,111 @@
+2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlFilteredXmlReader.cs :
+         Made placeholder element as "empty" i.e. IsEmptyElement = true.
+         As long as it is at placeholder state, it keeps being placeholder
+         empty element until DetachPlaceholder() is explicitly called. It
+         makes this reader simpler.
+       * NvdlValidator.cs : (NvdlResultInterp) for AttachPlaceHolder it does
+         not have to do anything other than AttachPlaceholder().
+         (NvdlValidateInterp) Now that placeholder becomes an empty element
+         it does not have to validate content anymore at DetachPlaceholder().
+
+2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlReader.cs, NvdlFilteredXmlReader.cs :
+         placeHolder -> placeholder. Also reject unrecognized NVDL elements
+         in NvdlReader.
+
+2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlException.cs : provide BaseURI in such case that argument
+         IXmlLineInfo is XmlReader.
+       * NvdlValidator.cs : NvdlDispatcher was incorrectly replacing 
+         current section when an empty element appears (it kept such empty
+         element section).
+
+2006-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlRelaxngSupport.cs : It seems that the validating grammar for
+         planAtt should always contain a definition for virtualElement i.e.
+         it is not something that NVDL validator should provide
+         automatically. (It makes sense since RELAX NG does not support
+         attribute-only grammar definition.)
+       * NvdlFilteredXmlReader.cs : for validating attributes, filter xmlns
+         attributes out.
+
+2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlSimplified.cs, NvdlValidator.cs :
+         Support for revised "trigger" in FDIS was not enough. The validator
+         must not trigger such element that has a parent which could be
+         triggered (the parent does not have to be actually triggered).
+         Thus, introduced a new class SimpleTrigger which holds own qname
+         array.
+
+2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlSimplified.cs : according to the section 6.4.10 overriden rules
+         should be filtered out, and rules with cancelNestedAction should be
+         removed *after* filtering overriden rules out.
+
+2006-04-18  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlSimplified.cs, NvdlValidator.cs :
+         fixed several context path related bugs.
+         - Path steps must be trimmed.
+         - MatchPath() always returned false.
+         - nested mode in context is always ignored.
+
+2006-04-11  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlRelaxngSupport.cs : without ReportDetails RELAX NG support
+         supplied too little information on validation error.
+
+2006-04-11  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlFilteredXmlReader.cs : quick fix for r58557; it caused a big
+         NVDL validation breakage (nvdl.nvdl does not validate).
+         Removed unused and insignificant code.
+       * NvdlCompileContext.cs : removed unused field.
+
+2006-04-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       due to the request by Brian Rasumussen to report NVDL error details:
+       * NvdlFilteredXmlReader.cs : make it as IXmlLineInfo.
+       * NvdlValidationGenerator.cs :
+         (NvdlValidationProvider) made validate, schemaType and config as
+         publicly accessible.
+         (NvdlValidatorGenerator) added new HandleError() method that can
+         override error handling.
+       * NvdlValidator.cs : use it.
+       * NvdlException.cs : added new type NvdlInstanceValidationException
+         that is used to "wrap" actual validation errors to provide
+         NVDL script location information.
+       * NvdlRelaxngSupport.cs, NvdlXsdSupport.cs :
+         use those new HandleError() and NvdlInstanceValidationException.
+
+2006-03-23  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlXsdSupport.cs : seems like "XmlReaderSettings.ValidationType =
+         ValidationType.Auto" does not automatically start xsd validation,
+         so set the property explicitly as ValidationType.Schema.
+
+2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.
+
+2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlXsdSupport.cs : in NET_2_0 mode, use XmlReader.Create()
+         with validation support. Now MS.NET users can validate NVDL
+         that uses XSD.
+
+2006-03-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       * NvdlSimplified.cs : (SimpleRules) huh, I made silly change to
+         access null field.
+
 2005-12-23  Atsushi Enomoto <atsushi@ximian.com>
 
        * NvdlFilteredXmlReader.cs, NvdlReader.cs, NvdlStructures.cs,