[
Lists Home |
Date Index |
Thread Index
]
At 04:50 PM 1/3/2002 +0000, David Carlisle wrote:
> > One of the design goals of XQuery is to be easily parsed using
> conventional
> > tools like lex and yacc or JavaCC. These have no notion of the XML
> > Information Set.
>
>that is a reasonable goal, but in that case I suggest that you _only_
>specify the constructor syntax and completely drop the xml-ish syntax.
But the XML syntax for element constructors is not at all confusing unless
the query is embedded in an XML document. Many users seem to find it quite
intuitive, and it makes it possible to copy the text of a document and add
query expressions for dynamic content.
So I think that there are good reasons to keep it.
Jonathan
|