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

xpath for signing non-closure xml document

From: Jern-Kuan Leong <jernkuan@gmail.com>
Date: Tue, 31 May 2005 11:42:48 +0800
Message-ID: <4e0910bf05053020426e40c6a@mail.gmail.com>
To: w3c-ietf-xmldsig@w3.org
Hi All,

I am attempting to make use of xpath expression to ignore xml tags that is 
inserted into a xml document after it has been signed.
I'm using the following XPath expression

not(ancestor-or-self::b/following-sibling::*)

However i can't seem to validate the signature after that.

input xml tag
<a>
<b>
<signature>
.......
</signature>
</b>
<a>

subsequent xml document
<a>
<b>
<signature>
.......
</signature>
</b>
<c>
</c>
<a>


Anyone got any idea?

Rgds and tia.
jernkuan
Received on Tuesday, 31 May 2005 10:39:40 UTC

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