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=11888>. 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=11888 Transformer doesn't work if xsl is from DOMSource - causes exception Summary: Transformer doesn't work if xsl is from DOMSource - causes exception Product: XalanJ2 Version: 2.3 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.transformer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If I use myTransformerFactory.newTransformer(new DOMSource(xsldoc)), this causes an exception "javax.xml.transform.TransformerException: stylesheet requires attribute: version". However the XSL document does have that attribute. If I use StreamSource instead of DOMSource with the same xsl document, it works. This occurs with xalan-j 2.3.1, as well as the version which forms part of JDK1.4 and the version that comes with Tomcat.
