-
Bug
-
Resolution: Fixed
-
P3
-
5.0u1
-
1.4
-
sparc
-
solaris
There is a simple test case attached here with with a README also.
I have a simple java class that takes an XSL file and a XML file as input and uses XSLT processor to transform. When I use JDK 1.4.2_06, things work as expected. But when I switched to using JDK 1.5.0_01, I got the following exception...
/share/builds/components/jdk/1.5.0_01/SunOS/bin/java TestCase foo.sch schematron-basic.xsl report
Exception in thread "main" java.lang.NoSuchMethodError: GregorSamsa.process$dash$root(Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;ILjava/lang/Object;)V
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:640)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
at TestCase.transform(TestCase.java:56)
at TestCase.transform(TestCase.java:38)
at TestCase.main(TestCase.java:27)
The above JDK version is ...
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode)
In my environment there is no JAVA_HOME set, nor there is any CLASSPATH variable set.
The XSL file that is being used here is the schematron XSL file.
###@###.### 2005-2-04 12:16:24 GMT
I have a simple java class that takes an XSL file and a XML file as input and uses XSLT processor to transform. When I use JDK 1.4.2_06, things work as expected. But when I switched to using JDK 1.5.0_01, I got the following exception...
/share/builds/components/jdk/1.5.0_01/SunOS/bin/java TestCase foo.sch schematron-basic.xsl report
Exception in thread "main" java.lang.NoSuchMethodError: GregorSamsa.process$dash$root(Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;ILjava/lang/Object;)V
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:640)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
at TestCase.transform(TestCase.java:56)
at TestCase.transform(TestCase.java:38)
at TestCase.main(TestCase.java:27)
The above JDK version is ...
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode)
In my environment there is no JAVA_HOME set, nor there is any CLASSPATH variable set.
The XSL file that is being used here is the schematron XSL file.
###@###.### 2005-2-04 12:16:24 GMT
- relates to
-
JDK-6905829 Fix for 6225552 should be integrated correctly in jdk5ux
- Closed