W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2017

[Bug 30125] New: [xslt30]Relax-NG schema still declares for-each-stream attribute on xsl:merge-source although attribute was renamed to for-each-source

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 Jun 2017 10:08:35 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30125-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30125

            Bug ID: 30125
           Summary: [xslt30]Relax-NG schema still declares for-each-stream
                    attribute on xsl:merge-source although attribute was
                    renamed to for-each-source
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: martin.honnen@gmx.de
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 13 June 2017 10:08:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 June 2017 10:08:43 UTC