DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12924>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12924 XSLTC: Incomplete implementation in SAX2DOM Summary: XSLTC: Incomplete implementation in SAX2DOM Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The new -xsltc option for the Process command line does not work with the d2d flavor for XSLTC. Command line: % java org.apache.xalan.xslt.Process -xsltc -flavor d2d -in my.xml -xsl my.xsl Error message: java.lang.ClassCastException: org.apache.xerces.dom.DocumentFragmentImpl at org.apache.xalan.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:101) at org.apache.xalan.xsltc.runtime.output.TransletOutputHandlerFactory.ge tTransletOutputHandler(TransletOutputHandlerFactory.java:176) at org.apache.xalan.xsltc.trax.TransformerImpl.getOutputHandler(Transfor merImpl.java:305) at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl .java:241) at org.apache.xalan.xslt.Process.main(Process.java:745) This uncovers a problem in the XSLTC SAX2DOM implementation. The SAX2DOM constructor accepts a Node, but it always expects the Node to be a Document. We need to add support for other non-Document Nodes (e.g. Element and DocumentFragment).
