Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
2.3
-
None
-
None
-
Operating System: Linux
Platform: PC
-
11888
Description
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.