W3C home > Mailing lists > Public > public-xmlsec@w3.org > April 2011

Re: Special cases for PrefixRewrite in C14N 2.0

From: Cantor, Scott E. <cantor.2@osu.edu>
Date: Thu, 28 Apr 2011 02:11:59 +0000
To: Pratik Datta <pratik.datta@oracle.com>, "public-xmlsec@w3.org" <public-xmlsec@w3.org>
Message-ID: <C9DE4463.9993%cantor.2@osu.edu>
On 4/27/11 9:44 PM, "Pratik Datta" <pratik.datta@oracle.com> wrote:
>I think we should do for disjoint subtrees also.
>Let us say some one wants to sign all "CreditCard" elements in the
>document, then have an xpath like this  //c1:CreditCard
>So will each credit card element will be a different disjoint subtree.
>But should each one get a different prefix?  That will be confusing.

I'll defer to current implementers, I wasn't sure if it was worth imposing
a new requirement to remember all the prefix bindings defined in walking
the subtrees. That is a new requirement, right?

-- Scott
Received on Thursday, 28 April 2011 02:12:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:15 UTC