From: <bo...@us...> - 2007-05-01 11:52:09
|
Revision: 206 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=206&view=rev Author: bodewig Date: 2007-05-01 04:52:08 -0700 (Tue, 01 May 2007) Log Message: ----------- Document setXPathFactory in User's Guide Modified Paths: -------------- trunk/xmlunit/src/user-guide/XMLUnit-Java.xml Modified: trunk/xmlunit/src/user-guide/XMLUnit-Java.xml =================================================================== --- trunk/xmlunit/src/user-guide/XMLUnit-Java.xml 2007-05-01 11:41:21 UTC (rev 205) +++ trunk/xmlunit/src/user-guide/XMLUnit-Java.xml 2007-05-01 11:52:08 UTC (rev 206) @@ -889,6 +889,11 @@ building DOM <literal>Document</literal>s using the configured parsers.</para> + <para>You can also set the class name for the + <literal>XPathFactory</literal> to use when using JAXP 1.3 by + passing the class name to + <literal>XMLUnit.setXPathFactory</literal>.</para> + </section> <section id="EntityResolver"> @@ -2669,6 +2674,10 @@ JAXP XSLT transformer (see <xref linkend="JAXP"/>) under the covers.</para> + <para>When using JAXP 1.3 you can chose the actual + <literal>XPathFactory</literal> implementation using + <literal>XMLUnit.setXPathFactory</literal>.</para> + <para>It is possible to establish a global <literal>NamespaceContext</literal> with the help of the <literal>XMLUnit.setXpathNamespaceContext</literal> method. Any This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |