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 30125 - [xslt30]Relax-NG schema still declares for-each-stream attribute on xsl:merge-source although attribute was renamed to for-each-source
Summary: [xslt30]Relax-NG schema still declares for-each-stream attribute on xsl:merge...
Status: RESOLVED FIXED
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: 2017-06-13 10:08 UTC by Martin Honnen
Modified: 2017-11-09 17:19 UTC (History)
0 users

See Also:


Attachments

Description Martin Honnen 2017-06-13 10:08:35 UTC
Both the Relax-NG schema presented inline in the spec at https://www.w3.org/TR/xslt-30/#relax-ng-schema-for-xslt as well as the linked separate schema https://www.w3.org/TR/xslt-30/schema-for-xslt30.rnc define

merge-source.element =
   element merge-source {
      extension.atts,
      global.atts,
      attribute name { ncname.datatype }?,
      attribute _name { avt.datatype }?,
      attribute for-each-item { expression.datatype }?,
      attribute _for-each-item { avt.datatype }?,
      attribute for-each-stream { expression.datatype }?,
      attribute _for-each-stream { avt.datatype }?,
      (attribute select { expression.datatype }
      | attribute _select { avt.datatype })+,
      attribute streamable { boolean.datatype }?,
      attribute _streamable { avt.datatype }?,
      attribute use-accumulators { tokens.datatype }?,
      attribute _use-accumulators { avt.datatype }?,
      attribute sort-before-merge { boolean.datatype }?,
      attribute _sort-before-merge { avt.datatype }?,
      attribute validation { "strict" | "lax" | "preserve" | "strip" }?,
      attribute _validation { avt.datatype }?,
      attribute type { eqname.datatype }?,
      attribute _type { avt.datatype }?,
      attribute for-each-source { expression.datatype }?,
      attribute _for-each-source { avt.datatype }?,
      merge-key.element+
   }

where 

      attribute for-each-stream { expression.datatype }?,
      attribute _for-each-stream { avt.datatype }?,

I think should be removed as the attribute was renamed to for-each-source and for-each-stream is no longer allowed.
Comment 1 Michael Kay 2017-10-13 20:29:58 UTC
Erratum E11 has been drafted.
Comment 2 Michael Kay 2017-10-30 09:47:11 UTC
The erratum has been approved.

There was some discussion about how to publish the revised schema. It seems we can't modify the version in /TR/ space without some heavyweight W3C process; but we can publish the file as a sibling of the errata HTML page, linked from the errata, without any formality.
Comment 3 Michael Kay 2017-11-09 17:19:03 UTC
The WG noted also that both the published RElax NG schema and this revision assign copyright to Mohamed; we need to get his agreement to change this to W3C copyright.