W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2014

[Bug 26467] New: [xslt 3.0] Ambiguity for xsl:global-context-item

From: <bugzilla@jessica.w3.org>
Date: Wed, 30 Jul 2014 10:16:22 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26467-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26467

            Bug ID: 26467
           Summary: [xslt 3.0] Ambiguity for xsl:global-context-item
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

3.6.5 says

A type error is signaled if the supplied global context item does not match the
required type declared in the xsl:global-context-item declaration of any
package. 

This is ambiguous. The intent is that the type of the supplied item should
match every type declaration, not that it is sufficient to match one of them.

Suggested rephrasing:

A type error is signaled if any package contains an xsl:global-context-item
that declares a required type which does not match the supplied global context
item.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 30 July 2014 10:16:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC