← Prev in month ← Prev in thread

unsubscibe

From
Duan Hanzhou <>
To
Date
2002-01-04T07:28:34Z
ID
<F17B6DE13B9BD311936000508B556E9301863A22@MAILSERVER>
Thread
unsubscibe
unsubscibe

-----Original Message-----
From: Francis Norton [mailto:]
Sent: Friday, 04 January, 2002 6:42 AM
To: 
Cc: 'Jonathan Robie'; 'Elliotte Rusty Harold'; 'Henry S. Thompson'; 'David
Carlisle'; ; 
Subject: Re: [xml-dev] 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>
← Prev in month ← Prev in thread