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 30384 - [XSLT30] xsl:merge-source incorrectly describes that validation only takes place if streaming is requested
Summary: [XSLT30] xsl:merge-source incorrectly describes that validation only takes pl...
Status: NEW
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: 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: 2018-12-22 12:25 UTC by Abel Braaksma
Modified: 2019-02-19 19:49 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2018-12-22 12:25:55 UTC
The offending line is in 15.3:

"The rules are the same as for an xsl:source-document instruction specifying streamable="yes". If the for-each-source attribute is absent, then the validation and type attributes must both be absent."

I think this is a remnant from the time that for-each-source was only meant for streaming. That is no longer the case.

I suggest we change this to something like:

"The rules are the same as for an xsl:source-document instruction with the same effective value for the streamable attribute. If the for-each-source attribute is absent, then the validation and type attributes must both be absent."
Comment 1 Michael Kay 2019-02-13 14:51:03 UTC
I don't think the headline is correct; there's no implication that validation can only take place if streaming.  But I think we can simply drop the phrase "specifying streamable="yes"", because xsl:source-document validation is exactly the same whether you're streaming or not.

I'm drafting erratum E44, which simply (a) drops the phrase "specifying streamable="yes"", (b) adds a link to §18.1.1 (Validation of Source Documents) (c) says that in 18.1.1 references to attributes of xsl;source-document should be interpreted as references to attributes of xsl:merge.
Comment 2 Abel Braaksma 2019-02-19 19:49:25 UTC
(In reply to Michael Kay from comment #1)
> I don't think the headline is correct; there's no implication that
> validation can only take place if streaming.
I see that now too, indeed

> I'm drafting erratum E44, which simply (a) drops the phrase "specifying
> streamable="yes"", (b) adds a link to §18.1.1 (Validation of Source
> Documents) (c) says that in 18.1.1 references to attributes of
> xsl;source-document should be interpreted as references to attributes of
> xsl:merge.
It appears to me that (c) is missing from the proposed change. Was that intentional? I think it would add value to specifically say so.

For reference, deep-link to HTML rendered erratum: https://htmlpreview.github.io/?https://github.com/w3c/qtspecs/blob/master/errata/xslt-30/html/xslt-30-errata.html#E44