From: Stefan B. <bo...@ap...> - 2006-12-22 05:05:00
|
Hi all, this is just a heads up that I've added XML namespace support to XMLUnit's XPath engines (and the assertions). I've added a pretty simple NamespaceContext interface with a Map based default implementation. An instance of this needs to be injected into the engine or passed to the assertion methods. The implementation of namespace support in SimpleXpathEngine is based on the patch provided by Matthew L Daniel that was appended to issue 953445 - basically all supported namespaces get declared on the XSLT stylesheet used to extract the XPath result. For the JAXP 1.3 version I wrote an adapter from our NamespaceContext tp the javax.xml.namespace inteface. Stefan |