Default Transform for same-doc references

It *seems* that a Reference that references the same document does not "inherit"
canonicalization from SignatureInfo but rather use http://www.w3.org/TR/2001/REC-xml-c14n-20010315
Have I got this correct? 

If I use exclusive canonicalization( http://www.w3.org/2001/10/xml-exc-c14n# )
in SignedInfo, I assume that it would be logical
to use this also for a http://www.w3.org/2000/09/xmldsig#enveloped-signature 
But then I need TWO Transform elements!

<Transforms>
  <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>

Right?

thanx
Anders Rundgren

Received on Sunday, 23 April 2006 18:31:13 UTC