-
Bug
-
Resolution: Fixed
-
P2
-
1.1
-
1.1fcs
-
sparc
-
solaris_2.6
-
Verified
If StreamSource or SAXSource is created using erroneous xsl file and is given as input to TransformerFactory.newTransformer() method with the ErrorListener set to the Factory, fatalError() callback (of the attached program) throws
--------------------------------------------------------------------
********* In fatal
javax.xml.transform.TransformerException: TRaX Transform Throwable
--------------------------------------------------------------------
where as
If DOMSource is created using erroneous xsl file and is given as input to TransformerFactory.newTransformer() method with the ErrorListener set to the Factory, fatalError() callback (of the attached program) throws
--------------------------------------------------------------------
********* In fatal
javax.xml.transform.TransformerException: TRaX Transform Throwable
Exception in thread "main" java.lang.NullPointerException
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:632)
at FatalErrorTest.main(FatalErrorTest.java:22)
--------------------------------------------------------------------
There is an inconsistency here and the NullPointerException here is not relevent.
PS: Look at the attached code.
--------------------------------------------------------------------
********* In fatal
javax.xml.transform.TransformerException: TRaX Transform Throwable
--------------------------------------------------------------------
where as
If DOMSource is created using erroneous xsl file and is given as input to TransformerFactory.newTransformer() method with the ErrorListener set to the Factory, fatalError() callback (of the attached program) throws
--------------------------------------------------------------------
********* In fatal
javax.xml.transform.TransformerException: TRaX Transform Throwable
Exception in thread "main" java.lang.NullPointerException
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:632)
at FatalErrorTest.main(FatalErrorTest.java:22)
--------------------------------------------------------------------
There is an inconsistency here and the NullPointerException here is not relevent.
PS: Look at the attached code.