[XQuery, May 2] Example 3.7.2.3 missing braces

The example in section 3.7.2.3 of the XQuery May 2 draft appears to contain an 
error (missing curly braces): It should be

document
   {
      <author-list>
         { doc("bib.xml")//book/author }
      </author-list>
   }

It is not a syntax error without these, but then the path will be included 
verbatim instead of executing it as an embedded expression.


Cheers,

Michael Brundage
Writing as
Author, "XQuery: The XML Query Language" (Addison-Wesley, to appear 2003)
Co-author, "Professional XML Databases" (Wrox Press, 2000)

not as
Technical Lead
Common Query Runtime/XML Query Processing
WebData XML Team
Microsoft

Received on Sunday, 22 June 2003 17:27:05 UTC