W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2012

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 05 Oct 2012 14:52:23 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19292-523@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 October 2012 14:52:24 GMT