From: David C. <dc...@st...> - 2007-04-24 13:35:45
|
> I see. > > The primary use case is that you want to verify a piece of XML by > testing the results of some given XPath expressions. What you > describe is testing an XPath expression by applying it to a given > document. So in your case the expression and not the document would > be under test, right? I can see how being able to pick a XPath > implementation might be useful here, agreed. I'll look into it. > > Yes, that is one of the use cases. >> Also, there was mention of schema validation. Is this just >> validating an xml instance, or is this validating the xml schema it >> self? >> > > Validating the instance, though I must admit that I'm not sure what > you mean by validating the Schema itself. > I mean making sure that the schema compiles in the schema parser with out error. Making sure that the schema conforms to the rules specified by XML Schemas 1.0. There are two forms of validation, XML Schema validation, and then XML Instance validation against a particular schemas. Again, it would be nice to be able to specify on a test basis which Schema Parsers to use for a particular test, and not just instance availability. If not, I can always do it manually myself. I just develop XML Schema standards on a day to day basis and it's good to verify that the schema itself is valid amongst a wide variety of parsers. Dave |