In version 1.4.4, when canonicalizing the subtree "//xades:SignedProperties"
with c14N11 (using the supplied sample code), the result is the following:

********* Input ***********
<einvoiceContainer>
  <unsignedData/>
  <signedData Id="einvoice">
    Hello
  </signedData>
  <ds:Signature Id="signature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#";
xmlns:xades="http://uri.etsi.org/01903/v1.3.2#";>
    <ds:Object>
      <xades:QualifyingProperties Id="QualifyingPropertiesId"
Target="#signature">
        <xades:SignedProperties Id="XAdESSignedProps"/>
      </xades:QualifyingProperties>
    </ds:Object>
  </ds:Signature>
</einvoiceContainer>

********* Output ***********
<xades:SignedProperties xmlns:ds="http://www.w3.org/2000/09/xmldsig#";
xmlns:xades="http://uri.etsi.org/01903/v1.3.2#"; Id="XAdESSignedProps"
Target="#signature"></xades:SignedProperties>


********* Question **********
Shouldn't only attributes in the xml namespace (i.e. xml:lang and xml:space)
be propagated into the canonicalized document subset ? Why is the 'Target'
attribute from the 'xades:QualifyingProperties' node also propagated into
'xades:SignedProperties' ? Am i missing something in the spec ?


Kind regards

--
Daniel
-- 
View this message in context: 
http://old.nabble.com/c14n11-bug--tp31448658p31448658.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.

Reply via email to