- From: Howard Katz <howardk@fatdog.com>
- Date: Wed, 29 May 2002 10:06:07 -0700
- To: "Graystreak" <wex@media.mit.edu>
- Cc: <www-ql@w3.org>
As I said, it depended on the particular environment. I don't believe any of the vendors (except myself! :-) accept a naked "//" for the top-level context. Ergo the appropriate use of document() in each case: Quip 2.1.1.1 let $doc := document("data/xmp-data.xml") return $doc//*[1] IPSI-XQ 1.01 let $doc := document("data/xmp-data.xml") ... Microsoft let $doc := document("http://www.bn.com/bib.xml") ... X-Hive let $doc := document("/XQuery/docs/XMP/bib.xml") ... Galax (select 'Use Case XMP') let $doc := $bib ... OpenLink Virtuoso Server (worked only in IE, not Netscape 4.7) let $doc := document("bib.xml") ... Cognetic Systems XQuantum database: I couldn't find a query that would compile. It looks like 'let' isn't implemented yet. (What's a minor keyword or two? :-) Howard > -----Original Message----- > From: Graystreak [mailto:wex@media.mit.edu] > Sent: Wednesday, May 29, 2002 9:16 AM > To: howardk@fatdog.com > Cc: www-ql@w3.org > Subject: Re: implementer's diversity > > > Howard, > > Would you please post the exact query you used? Thanks. > > --Alan > > > I'm finding that the query > > > > //*[1] > > > > posed against "bib.xml", provides a fun little stress test of existing > > XQuery (and XPath) implementations.
Received on Wednesday, 29 May 2002 13:08:00 UTC