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 29793 - [xslt30] stripping of type annotations on xsl:source-document
Summary: [xslt30] stripping of type annotations on xsl:source-document
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 minor
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: 2016-08-25 18:51 UTC by Michael Kay
Modified: 2016-09-09 21:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2016-08-25 18:51:14 UTC
We say that the strip-type-annotations attribute applies to documents read using xsl:stream/xsl:source-document.

This doesn't seem to make much sense given that this instruction has a validation attribute, allowing you to specify, for example

<xsl:source-document validation="strict"/>
Comment 1 Michael Kay 2016-08-25 19:09:47 UTC
But we do say

The presence of a <code>validation</code> or <code>type</code> attribute on an
 <elcode>xsl:source-document</elcode> instruction causes any
  <code>input-type-annotations</code> attribute to have no effect on any document
  read using that instruction.
Comment 2 Michael Kay 2016-09-09 21:55:54 UTC
Reclassified as editorial. I have added a note under input-type-annotations confirming what we already say under xsl:source-document, namely that the attribute has no effect when the validation or type attributes are present.