W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2001

Typo in 6.6.3 XPath Filtering

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Fri, 10 Aug 2001 10:34:05 +0200
To: w3c-ietf-xmldsig@w3.org
Message-id: <1007232821.997439645@pinkpanther>
Typo in 6.6.3 XPath Filtering

<CITE>
For example, the markup <e>Hello, <!-- comment --> world!</e> contains two 
text nodes.
...
(e.g. by using the expression self::text()[string(parent::e)="Hello, 
world!"]).
</CITE>

In the markup example, there are 2 spaces (left and right of the comment), 
in the XPath expr., there is only one space between between the comma and 
world. Either we have to use:

<VERSION1>
<e>Hello, <!-- comment -->world!</e>
self::text()[string(parent::e)="Hello, world!"]
</VERSION1>

<VERSION2>
<e>Hello, <!-- comment --> world!</e>
self::text()[string(parent::e)="Hello,  world!"]
</VERSION2>


Christian
Received on Friday, 10 August 2001 04:32:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:36 UTC