W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2002

Re: here() context and comment nodes

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Mon, 06 May 2002 16:54:30 +0200
To: merlin <merlin@baltimore.ie>
Cc: w3c-ietf-xmldsig@w3.org
Message-id: <32514172.1020704070@crypto>
Right. My question is: does your implementation collect the data from ALL 
Text nodes to evaluate the XPath? Until now, my implementation crashed if 
e.g. a PI is inserted into the Text (yes, I know: PIs are not allowed in 
XML Signature).

Christian

--On Montag, 6. Mai 2002 15:45 +0100 merlin <merlin@baltimore.ie> wrote:

>
> here() returns a node set containing either the attribute
> node, processing instruction or element holding the
> expression; not the text node(s). So here() is { <XPath> }.
>
> Merlin
>
> r/geuer-pollmann@nue.et-inf.uni-siegen.de/2002.05.06/16:29:43
>> Hi all,
>>
>> short question about this: Did anyone ever had problems with things like
>> this:
>>
>> <XPath xmlns="&xmldsig-xfilter2;">
>>    here()<!-- comment -->/ds:Signature[1]
>> </XPath>
>>
>> I mean that the XPath is "polluted" with a comment which splits the
>> String?  I figured out that this probably crashes my implementation.
Received on Monday, 6 May 2002 10:50:19 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:15 GMT