2006-04-19 Atsushi Enomoto * 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 * NvdlReader.cs, NvdlFilteredXmlReader.cs : placeHolder -> placeholder. Also reject unrecognized NVDL elements in NvdlReader. 2006-04-19 Atsushi Enomoto * 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 * 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 * 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 * 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 * 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 * NvdlRelaxngSupport.cs : without ReportDetails RELAX NG support supplied too little information on validation error. 2006-04-11 Atsushi Enomoto * 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 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 * 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 * NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags. 2006-03-03 Atsushi Enomoto * 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 * NvdlSimplified.cs : (SimpleRules) huh, I made silly change to access null field. 2005-12-23 Atsushi Enomoto * NvdlFilteredXmlReader.cs, NvdlReader.cs, NvdlStructures.cs, NvdlSimplified.cs, NvdlValidator.cs: Reflected the latest changes in NVDL Final Draft: http://www.jtc1sc34.org/repository/0694.pdf - wildcard -> wildCard - renamed from "PlaceHolder" to "Placeholder" - trigger/@name of NCName -> trigger/@nameList of list of NCName 2005-09-30 Atsushi Enomoto * NvdlConfig.cs : changed mime type due to the suggestion from Makoto Murata. 2005-09-30 Atsushi Enomoto * NvdlXsdSupport.cs : related fix to r51030; XmlSchema.Read() now does not consume EndElement. 2005-09-25 Atsushi Enomoto * NvdlValidationProvider.cs : GetSchemaXmlStream() should take NVDL script's base URI into account to compute the actual schema URI. * NvdlRelaxngSupport.cs : ditto. 2005-09-11 Atsushi Enomoto * NvdlCompileContext.cs : make this internal. * NvdlStructures.cs : surpress default constructor. Make debug stuff internal. 2005-04-11 Atsushi Enomoto * NvdlRelaxngSupport.cs : added PlanAtt validation support. 2005-04-06 Atsushi Enomoto * NvdlValidator.cs : fixed warning. 2005-03-07 Atsushi Enomoto * NvdlFilteredXmlReader.cs, NvdlStructures.cs, NvdlSimplified.cs : "PlaceHolderNamespace" is not proper name (for "virtualElement"). 2005-03-07 Atsushi Enomoto * NvdlBuiltInValidationProvider.cs : When it is "allow", it should not always return false. * NvdlFilteredXmlReader.cs : Added support for PlanAtt validation. * NvdlConfig.cs : Removed unused code. * NvdlSimplified.cs : Attribute default rule is "attach", not "allow". Removed unused code. Added attribute validation support. * NvdlValidationProvider.cs : Extended MIME type check to "*/*-xml" (not only text/xml). Added CreateAttributeValidator() method for "schema rewriting for attribute sections" support (FCD spec 8.7.3). 2005-03-06 Atsushi Enomoto * NvdlFilteredXmlReader.cs : code refactory. * NvdlCompileContext.cs, NvdlConfig.cs, NvdlSimplified.cs, NvdlValidatingReader.cs : Simplified objects are now all internal. * NvdlValidator.cs : don't output debug. 2005-03-06 Atsushi Enomoto * NvdlFilteredXmlReader.cs : New file. Supports createPlaceHolder() and attBubble[I]. * NvdlValidator.cs : support for attachPlaceHolder. * NvdlSimplified.cs, NvdlStructures.cs, NvdlBuiltInValidationProvider.cs : renamed namespace const. * NvdlValidationProvider.cs : removed extraneous debug. 2005-03-01 Atsushi Enomoto * NvdlStructures.cs, NvdlSimplified.cs, NvdlReader.cs, NvdlValidatingReader.cs, NvdlConfig.cs, NvdlValidationProvider.cs, NvdlBuiltInValidationProvider.cs, NvdlRelaxngSupport.cs, NvdlXsdSupport.cs, NvdlException.cs, NvdlValidator.cs, NvdlCompileContext.cs : initial checkin.