W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2002

RE: implementer's diversity

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>
Message-ID: <NFBBKEMEJKFJGCPOOKHCCEJHCHAA.howardk@fatdog.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT