Re: [xri] Re: Comment signing (was RE: [xri] CANCELLED: XRI TC Telecon Thursday 12/03)

From
Will Norris <>
Date
2009-12-12T18:48:22+00:00
ID
Thread
Re: [xri] Re: Comment signing (was RE: [xri] CANCELLED: XRI TC Telecon Thursday 12/03)
On Dec 3, 2009, at 11:27 AM, Scott Cantor wrote:

> Will Norris wrote on 2009-12-03:
>> fine by me.  Scott, would that just mean that we drop the #WithComments
>> canonicalization transform?
> 
> If you're explicitly mentioning it, yes, it turns out that's irrelevant to
> the end result. The use of URI="#foo" as a reference syntax throws away all
> comment nodes up front before c14n ever happens.

oops, also meant to clarify this last point.  My XPath is rusty, but you're saying that an XPath query containing only a single element ID reference excludes comment nodes?  I couldn't find anything to that effect in the XPath spec, but that doesn't mean much.  I'm just curious why this syntax automatically drops comment nodes.

-will