You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jo...@apache.org on 2004/12/13 20:59:18 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/lib PipeDocument.java
joannet 2004/12/13 11:59:18
Modified: java/src/org/apache/xalan/lib PipeDocument.java
Log:
fixed jira 1662, allow pipeDocument to throw exceptions
Revision Changes Path
1.9 +2 -8 xml-xalan/java/src/org/apache/xalan/lib/PipeDocument.java
Index: PipeDocument.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/lib/PipeDocument.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PipeDocument.java 11 Feb 2004 17:56:36 -0000 1.8
+++ PipeDocument.java 13 Dec 2004 19:59:18 -0000 1.9
@@ -107,8 +107,7 @@
throws TransformerException, TransformerConfigurationException,
SAXException, IOException, FileNotFoundException
{
- try
- {
+
SAXTransformerFactory saxTFactory = (SAXTransformerFactory) TransformerFactory.newInstance();
// XML doc to transform.
@@ -183,11 +182,6 @@
}
usePipe(vTHandler, absSourceURL, target);
}
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
}
/**
* Uses a Vector of TransformerHandlers to pipe XML input document through
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org