[Bug 19292] New: [QT3TS] ccontextDecl-035

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19292

           Summary: [QT3TS] ccontextDecl-035
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: oneil@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The declaration

 declare context item as xs:integer+ := (1 to 17)[position() = 5];

in this test is syntactically invalid.

[31]        ContextItemDecl        ::=        "declare" "context" "item" ("as"
ItemType)? ((":=" VarValue) | ("external" (":=" VarDefaultValue)?))

The type can only be an ItemType, not a SequenceType.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 5 October 2012 14:52:24 UTC