W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

[XQueryX] doc vs. document; error in XQueryX examples

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sun, 18 Jan 2004 11:21:04 -0500
Message-ID: <400AB270.5040603@metalab.unc.edu>
To: public-qt-comments@w3.org

The example of XQueryX in section 3.1.2 uses the old document() function 
instead of the newer doc() function. That is,

                      <xqx:functionName>document</xqx:functionName>

should be

                      <xqx:functionName>doc</xqx:functionName>


3.2.2 and 3.3.2 also make this mistake. The solutions in XQuery syntax 
appear use the name "doc". (unless there's some weird reason the 
function name changes between XQuery and XQueryX, but I doubt that.)

--
Elliotte Rusty Harold
Received on Sunday, 18 January 2004 11:25:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:04 GMT