Re: here() context and comment nodes

merlin <[email protected]>
Newsgroups gmane.ietf.xmldsig
Message-ID <[email protected]>
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.
>
>Christian
>


-----------------------------------------------------------------------------
The information contained in this message is confidential and is intended
for the addressee(s) only.  If you have received this message in error or
there are any problems please notify the originator immediately.  The 
unauthorised use, disclosure, copying or alteration of this message is 
strictly forbidden. Baltimore Technologies plc will not be liable for
direct, special, indirect or consequential damages arising from alteration
of the contents of this message by a third party or as a result of any 
virus being passed on.

This footnote confirms that this email message has been swept for Content
Security threats, including computer viruses.
http://www.baltimore.com
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.