W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > March 2001

XML Query Use Case PARTS, query 1

From: Michael Dyck <MichaelDyck@home.com>
Date: Sun, 18 Mar 2001 00:29:58 -0800
Message-ID: <3AB47206.3F17839E@home.com>
To: www-xml-query-comments@w3.org
XML Query Use Cases
W3C Working Draft 15 February 2001

1.8.4.1 Use Case PARTS, query 1:

Is there any reason why the Expected Result for this query has an XML
declaration, but none of the other Expected Results do?

In the Solution in XQuery, both occurrences of
    /part
should presumably be changed to
    //part
or
    /partlist/part

Also, the predicate
    [@partid = $p/@partof]
should be
    [@partof = $p/@partid]

-Michael Dyck
Received on Sunday, 18 March 2001 03:34:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:12 UTC