W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > June 2001

Re: XML Query: lexical analysis [2]

From: james anderson <james.anderson@setf.de>
Date: Tue, 19 Jun 2001 12:23:59 +0200
Message-ID: <3B2F283B.B7D10BA6@setf.de>
To: www-xml-query-comments@w3.org

upon further reflection, i must correct myself. there was, in fact, a
passage in the new specs which triggered my realization. it was section
6.2.2 of the query semantics document. to wit:

Element constructors in XQuery can support full XML syntax. As a result
the mapping give here is more involved and requires collaboration with
the XML parser.
The content of elements is always mapped to enclosed expressions with
'{' '}' in the core. The mapping then takes content of element
constructors and generate
appropriate node creation statements using the data model constructors. 

In order to map element constructors, we will use the following
additional mapping notations. 

Ci's               are allowed characters or entity references
Ni'                are elementary components within the element content
[[ ]]_elemcontent  is a specific mapping rule for the content of elements
[[ ]]_elem         is a specific mapping rule for elementary
                   components within the element content

once i read the first sentence, i admitted, that resistance was futile.

...
Received on Tuesday, 19 June 2001 06:20:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 February 2007 00:13:02 GMT