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

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