From: David C. <dc...@st...> - 2007-04-23 12:16:02
|
> Note that I don't like the XMLUnit with lots of statics API myself > either. I opted for API consistency when I added new things for the > 1.1 release, but I plan to experiment with a different approach for > XMLUnit 2.0. Your input is and will be more than welcome. > Well, it seems that if you use the XMLUnit.setNamespaceContext, it will carry across when it gets the XPath engine. I haven't taken a look yet, but is there a way to specify which XPath engine to use, as we can with the SAX and DOM parsers? It would be nice to be able to specify either JAXEN, XALAN, or SAXON's xpath engines. Particularly if you are trying to verify that something works across the various XPath engines available. Also, there was mention of schema validation. Is this just validating an xml instance, or is this validating the xml schema it self? Dave |