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 23784 - [xslt 3.0] snapshot() implementation is schema-aware
Summary: [xslt 3.0] snapshot() implementation is schema-aware
Status: CLOSED INVALID
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: 2013-11-10 19:44 UTC by Michael Kay
Modified: 2014-05-15 14:00 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-11-10 19:44:10 UTC
The specimen implementation of the snapshot() function in the XSLT 3.0 spec requires a schema-aware processor, because of its use of validation="strip" and validation="preserve". However, the function is available and well-defined with a non-schema-aware processor.

(We might like to consider whether we could change the rules on the "validation" attribute to make it easier to write code that works both with schema-aware and non-schema-aware processors.)
Comment 1 Michael Kay 2013-11-12 09:19:00 UTC
Withdrawing this. We have changed the rules in 3.0 so that a non-schema-aware processor treats validation=preserve and validation=lax in the same way as validation=strip.