[Bug 2259] [xqueryx] xqx:constructorFunctionExpr

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2259





------- Additional Comments From davidc@nag.co.uk  2005-09-20 12:01 -------
>  then what harm is there?


It increases the burden on an XQueryX processor (it has to implement
both elements) and (much) more importantly it works directly against the
(presumed) intent of XQueryX. Having an XML syntax means that it is much
easier to analyze and transform a Query Expression, however whenever you
have multiple ways of encoding the same thing (in any language) such
analysis becomes harder, and becomes exponentially harder the more
duplicated terms you have. (Which is why parallel bug reports argue
against node tests being encoded as XQueryX function calls (and boolean
equality tests being encoded as AttributeConstructors).

Some redundancy is probably inevitable but there is no need (and some
harm) in introducing distinctions in XQueryX that are not present in
XQuery.

David

Received on Tuesday, 20 September 2005 12:01:06 UTC