W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2011

[Bug 15143] New: [XQuery30] declare context item example

From: <bugzilla@jessica.w3.org>
Date: Mon, 12 Dec 2011 15:14:35 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15143-523@http.www.w3.org/Bugs/Public/>

           Summary: [XQuery30] declare context item example
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XQuery 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org

In 4.17 Context Item Declaration the second example is:

declare context item as element(sys:log) external
   := doc("/var/xlogs/sysevent.xml");

This will raise an error if the context item is not provided by the host
environment. Perhaps this should be:

declare context item as element(sys:log) external
   := doc("/var/xlogs/sysevent.xml")/sys:log;

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 Monday, 12 December 2011 15:16:40 UTC

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