Hi Shane and Xerces developers,
there seems to be some kind of a bug when doing a simple JAXP XSLT transform
(java file attached) using Xalan 2.1.0 & Xerces 1.4.1 with JDK 1.1.8:
java.lang.IncompatibleClassChangeError: Unimplemented interface method
at org.apache.xalan.processor.XSLTSchema.class$(XSLTSchema.java:69)
at org.apache.xalan.processor.XSLTSchema.build(Compiled Code)
at org.apache.xalan.processor.XSLTSchema.<init>(XSLTSchema.java:77)
at
org.apache.xalan.processor.StylesheetHandler.<init>(StylesheetHandler.java:1
226)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(Transf
ormerFactoryImpl.java:451)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:762) at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:687) at XSLTTest.doMain(XSLTTest.java:137)
at XSLTTest.main(XSLTTest.java:193)
The same code works with Xerces 1.4.0 in JDK 1.1.8.
With JDK 1.2-> it works with both Xerces 1.4.1 and 1.4.0 :
Output:
<?xml version="1.0" encoding="ISO-8859-1"?>
<elem test="test">
<original>Original data</original>
</elem>
- Mikko Honkala - http://www.x-smiles.org/
XSLTTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]