You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/10/09 20:36:26 UTC
cvs commit: xml-xalan/test/java/src/org/apache/qetest/trax ExamplesTest.java
curcuru 01/10/09 11:36:26
Modified: test/java/src/org/apache/qetest/trax ExamplesTest.java
Log:
Added setNamespaceAware for .xsl file parse, as should have been needed
Revision Changes Path
1.10 +2 -1 xml-xalan/test/java/src/org/apache/qetest/trax/ExamplesTest.java
Index: ExamplesTest.java
===================================================================
RCS file: /home/cvs/xml-xalan/test/java/src/org/apache/qetest/trax/ExamplesTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ExamplesTest.java 2001/06/28 01:46:09 1.9
+++ ExamplesTest.java 2001/10/09 18:36:26 1.10
@@ -133,7 +133,7 @@
* for each case - these should be updated as time permits.</p>
* @author shane_curcuru@lotus.com
* @author scott_boag@lotus.com
- * @version $Id: ExamplesTest.java,v 1.9 2001/06/28 01:46:09 curcuru Exp $
+ * @version $Id: ExamplesTest.java,v 1.10 2001/10/09 18:36:26 curcuru Exp $
*/
public class ExamplesTest extends XSLProcessorTestBase
{
@@ -850,6 +850,7 @@
Transformer transformer = templates.newTransformer();
DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
+ dfactory.setNamespaceAware(true); // must have namespaces for xsl files!
DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
org.w3c.dom.Document outNode = docBuilder.newDocument();
reporter.logTraceMsg("docBuilder.parse(new InputSource(" + QetestUtils.filenameToURL(sourceID));
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org