-
Bug
-
Resolution: Fixed
-
P3
-
6, 6u18
-
1.4
-
generic, x86
-
generic, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2214576 | 7u2 | Joe Wang | P3 | Closed | Fixed | b08 |
JDK-2191100 | 6-pool | Abhijit Saha | P3 | Closed | Future Project | |
JDK-2215005 | 5.0-pool | Miroslaw Niemiec | P4 | Closed | Won't Fix |
FULL PRODUCT VERSION :
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JRE 1.6.0_17 comes with a JAXP default implementation which currently is a buggy XALAN release: Large XSL files cannot be compiled, leading to an error message. Latest XALAN 2.7.1 contains a fix, but that one is not part of the JRE bundle so far.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile a XSL transformation file being about 128 to 256 KB large.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should compile without further problems.
ACTUAL -
XALAN contained in com.sun.org.apache complains that it cannot load the translet.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
javax.xml.transform.TransformerConfigurationException: Die Translet-Klasse 'GregorSamsa' konnte nicht geladen werden.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Java Test Driver:
package de.quipsy.xslt;
import java.io.File;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.stream.StreamSource;
public final class GregorSamsa {
public static final void main(final String[] a) throws Throwable {
TransformerFactory.newInstance().newTransformer(new StreamSource(new File("2010_Kundenreklamationen.XFO")));
}
}
The used XSL Sample File can be requested by email.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Replace JVM-bundled XALAN by latest "original" XALAN-2.7.1 (to be downloaded from apache.org) -- Copy the following files into jre6/lib/ext:
serializer.jar
xalan.jar
xercesImpl.jar
xml-apis.jar
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JRE 1.6.0_17 comes with a JAXP default implementation which currently is a buggy XALAN release: Large XSL files cannot be compiled, leading to an error message. Latest XALAN 2.7.1 contains a fix, but that one is not part of the JRE bundle so far.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile a XSL transformation file being about 128 to 256 KB large.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should compile without further problems.
ACTUAL -
XALAN contained in com.sun.org.apache complains that it cannot load the translet.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
javax.xml.transform.TransformerConfigurationException: Die Translet-Klasse 'GregorSamsa' konnte nicht geladen werden.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Java Test Driver:
package de.quipsy.xslt;
import java.io.File;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.stream.StreamSource;
public final class GregorSamsa {
public static final void main(final String[] a) throws Throwable {
TransformerFactory.newInstance().newTransformer(new StreamSource(new File("2010_Kundenreklamationen.XFO")));
}
}
The used XSL Sample File can be requested by email.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Replace JVM-bundled XALAN by latest "original" XALAN-2.7.1 (to be downloaded from apache.org) -- Copy the following files into jre6/lib/ext:
serializer.jar
xalan.jar
xercesImpl.jar
xml-apis.jar
- backported by
-
JDK-2191100 JRE 1.6.0_17 contains buggy XALAN
-
- Closed
-
-
JDK-2214576 JRE 1.6.0_17 contains buggy XALAN
-
- Closed
-
-
JDK-2215005 JRE 1.6.0_17 contains buggy XALAN
-
- Closed
-
- relates to
-
JDK-6940416 Regression in 6u18 wrt XSL/T processing
-
- Closed
-