Saxon HE 22.214.171.124 with -xmlversion:1.1 reports Unrecognized version 1.1: treated as 1.0
I switched from Saxon HE 126.96.36.199 to 188.8.131.52 and the same input XML and the same transformation XSL-T ended with the message "Unrecognized version 1.1: treated as 1.0". Can I ask You for explanation? Does it mean, that 184.108.40.206 does not support xml 1.1 or in some other way? See attached XML, XSL-T and script with the result. The problem can be seen on lines 41 and 42. Commands are on lines 3 and 4.
My XSL-T uses special characters hexadecimal 1F and 1E and I created XSL-T based of Your hint on StackOverflow [[http://stackoverflow.com/questions/25669441/how-to-put-into-the-csv-text-output-of-xsl-t-2-0-transformation-xml-illegal-ch]].
Thank You in advance for Your answer, Stepan
Updated by Michael Kay almost 8 years ago
Initial response: Looks like a bug: the version attribute of xsl:output is being validated using code designed for the generic version attribute available on all XSLT elements, but the one on xsl:output needs special treatment. However, it's only a warning and (I think) can be safely ignored.
Updated by O'Neil Delpratt almost 8 years ago
- Tracker changed from Support to Bug
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Found in version set to 9.6
Bug fixed and committed to subversion. The fix was suggested in comment #1 was to special case the version attribute method in the XSLOutput class.
The patch will be available in the next maintenance release.
Please register to edit this issue