- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Wed, 8 Jan 2003 14:33:50 +0100
- To: Mary Fernandez <mff@research.att.com>, Howard Katz <howardk@fatdog.com>
- Cc: Michael Kay <Michael.Kay@softwareag.com>, www-ql@w3.org
> In the *path* expression: > > (salary, bonus)[. > 0] > > the resulting salary and bonus elements whose content is > greater than zero will be in document order. This is because > path expressions always yield sequences of nodes in document > order whereas sequence expressions yield sequences of nodes > in input order. No, I don't think this is correct. [] does not cause the sequence it applies to to be reordered. The language book has a problem in this area, which I will raise on the TF list, but the formal semantics is correct, I believe. Michael Kay
Received on Wednesday, 8 January 2003 08:34:02 UTC