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

Re: [XQueryX] 5 A Trivial Embedding of XQuery

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 15 Jan 2004 13:06:39 GMT
Message-Id: <200401151306.NAA19598@penguin.nag.co.uk>
To: Michael.Kay@softwareag.com
Cc: public-qt-comments@w3.org


  The only real problem
  would be how to handle the "<" operator, which must be represented as
  &lt; in XML but cannot be represented as &lt; in XQuery.

This problem would be solved, and the correspondence between Xquery and
Xpath-in-XML would be improved, if the charef production was removed
from the grammar and instead an xquery parser was specified as acting
(as if) all charrefs were expanded (and line endings normalised)
_before_ parsing the input against the specified grammar. This would
mean that Charref could appear anywhere (as it can in Xpath in an XML
attribute) including use as Xquery syntax such as <.

David



-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thursday, 15 January 2004 08:16:33 GMT

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