[Home] [By Thread] [By Date] [Recent Entries]


unsubscibe

-----Original Message-----
From: Francis Norton [mailto:francis@r...]
Sent: Friday, 04 January, 2002 6:42 AM
To: michael.h.kay@n...
Cc: 'Jonathan Robie'; 'Elliotte Rusty Harold'; 'Henry S. Thompson'; 'David
Carlisle'; www-xml-query-comments@w...; xml-dev@l...
Subject: Re:  The use of XML syntax in XML Query


Michael Kay wrote:

> 
> 
> Is there a possibility of a solution in which the XML-like syntax becomes
> pure XML, and is regarded as a preprocessor syntax, so that a query
written
> as a well-formed XML document (using element constructors for elements,
> processing instructions for PIs, and comments for comments) can then be
> translated mechanically into an XQuery expressed as a Unicode string,
which
> itself uses no XML-like constructs?
> 

An element constructor syntax can be XML compatible in two senses - (1) 
it *is* XML, and can be both read and processed as such (this being the 
after all what XML is all about) or (2) it is not XML, but doesn't 
interfere with XML and can be normally be embedded in XML without 
breaking the XML or resorting to legibility-reducing escaped syntax.

It seems to me that the "pseudo-XML" passes neither test, and Mike's 
proposal passes both.

Francis.



-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member