FULL PRODUCT VERSION :
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]
SunOS epoch 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4
A DESCRIPTION OF THE PROBLEM :
The code of FilterChain.java fails to run with a NullPointerException in
org.apache.crimson.parser.Parser2.parseInternal
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just compile and run the code at the URL:
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/FilterChain.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected to see the transformed output.
ACTUAL -
Got a NullPointerException
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Fix is to add:
spf.setNamespaceAware(true);
to the initialisation of the SAXParserFactory.
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]
SunOS epoch 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4
A DESCRIPTION OF THE PROBLEM :
The code of FilterChain.java fails to run with a NullPointerException in
org.apache.crimson.parser.Parser2.parseInternal
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just compile and run the code at the URL:
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/FilterChain.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected to see the transformed output.
ACTUAL -
Got a NullPointerException
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Fix is to add:
spf.setNamespaceAware(true);
to the initialisation of the SAXParserFactory.