Re: here() context and comment nodes

Christian Geuer-Pollmann <[email protected]>
Newsgroups gmane.ietf.xmldsig
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 <[email protected]> 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/[email protected]/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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.