Bug #2253
closed
Saxon HE 9.6.0.2 with -xmlversion:1.1 reports Unrecognized version 1.1: treated as 1.0
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Description
Good morning,
I switched from Saxon HE 9.5.0.5 to 9.6.0.2 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 9.6.0.2 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
Files
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.
- Status changed from New to In Progress
- Assignee set to O'Neil Delpratt
- Priority changed from Low to Normal
- 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.
- Category set to Internals
A revised patch has been committed to the XSLOutput class. The problem was the version variable from XSLOutput class was incorrectly set. It should have been the variable from its parent class.
Bug fix applied in the Saxon 9.7 branch.
- Fixed in version set to 9.6.0.4
Bug fix applied in the Saxon 9.6.0.4 maintenance release.
- Status changed from Resolved to Closed
- Sprint/Milestone set to 9.6.0.4
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.4 added
- Sprint/Milestone changed from 9.6.0.4 to 9.6.0.3
- Fixed in Maintenance Release 9.6.0.3 added
- Fixed in Maintenance Release deleted (
9.6.0.4)
- Sprint/Milestone changed from 9.6.0.3 to 9.6.0.4
- Fixed in Maintenance Release 9.6.0.4 added
- Fixed in Maintenance Release deleted (
9.6.0.3)
Please register to edit this issue
Also available in: Atom
PDF