Re: here() context and comment nodes

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 UTC