This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26965 - [xslt 3.0] Undocumented incompatibility for version="1.1"
Summary: [xslt 3.0] Undocumented incompatibility for version="1.1"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-03 21:26 UTC by Michael Kay
Modified: 2014-10-24 10:33 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-10-03 21:26:46 UTC
Stylesheets with version="1.1" are sometimes encountered in the wild (probably because examples in my book used this value, as it went to press just before XSLT 1.1 was cancelled).

XSLT 2.0 requires processors to treat such stylesheets as if version="1.0" were specified (all values less than 2.0 are treated the same way).

XSLT 3.0 recommends that processors reject this value as a static error.

This is an incompatibility and should be recorded as such in the list of incompatibilities.

(I'm not suggesting that we change the rule. It would be complicated. How would we handle version="2.1"? That clearly has a different meaning to a 2.0 processor as to a 3.0 processor, by design.)
Comment 1 Michael Kay 2014-10-16 16:47:59 UTC
Agreed we should document this incompatibility.