W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2005

[Bug 2286] [xqueryx] more than one query in an XQueryX document

From: <bugzilla@wiggum.w3.org>
Date: Thu, 22 Sep 2005 13:26:40 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EIR60-00075u-5o@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2286

           Summary: [xqueryx]  more than one query in an XQueryX document
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: davidc@nag.co.uk
         QAContact: public-qt-comments@w3.org


The W3C test parser applet allows an input expression to contain more than one
query, essentially because it has an extra production
[0] QueryList := Module*

While converting XQuery to XQueryX using this parser I generate
xqx:queryList
elements for this production, allowing a single XQueryX document to encode
multiple queries.

This seems to be generally a useful feature, and I propose it for addition to
the schema. The stylesheet in the spec could use the same separator as the
parser applet when writing back as xquery (%%%).

Currently I generate this element anyway, without changing the schema, the
schema validator (xsv) laxly validates an undeclared top level element, and so
validates each query separately, but it would be nicer to have this fully declared.

David
Received on Thursday, 22 September 2005 13:26:44 UTC

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