Hi all,

over the past week I've added an XPath engine to both the Java and .NET
code in trunk[1] (which once may become XMLUnit 2.0).  The API is pretty
similar[2] to that of XMLUnit Java 1.x and the Java implementation is
based on JAXP 1.3.  The .NET version uses XmlDocument for one method and
System.Xml.XPath for the other.

The java-legacy part of trunk which is supposed to implement XMLUnit
Java 1.x in terms of the new code base uses the new XPath code in its
JAXPXpathEngine and still passes its own tests.

It may be a good idea to account for compiled XPath expression in the
interface in some way, but right now my focus has shifted to the
difference engine.

Stefan

[1] 
http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/trunk/xmlunit/src/main/java-core/net/sf/xmlunit/xpath/
    
http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/trunk/xmlunit/src/main/net-core/xpath/
    but you better check out
    https://xmlunit.svn.sourceforge.net/svnroot/xmlunit/trunk/xmlunit
    for a full picture

[2] method names are different and it returns an Iterable<Node> rather
    than a NodeList

------------------------------------------------------------------------------
_______________________________________________
Xmlunit-general mailing list
Xmlunit-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to