[Bug 5198] .// in PathExpr[28] difficult for databinding products

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





------- Comment #1 from mike@saxonica.com  2007-10-15 17:15 -------
Personal response:

.// is already used in the XPath subset for identity constraints in XML Schema
1.0. Are you proposing removing it from there as well?

Removing it would make it completely impossible to handle recursive structures.

I would have expected a databinding product to evaluate the XPath assertions on
a tree representation of the data that retains fidelity to the XDM model,
before converting into some other representation. That may cost in performance
but if your users don't want to pay the price then they don't have to use the
facility. It's certainly unreasonable to cripple the expressive power of
assertions for this reason.

Received on Monday, 15 October 2007 17:15:16 UTC