Re: [XQueryX] 5 A Trivial Embedding of XQuery

  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 UTC