setCanonicalMethod generates incomplete string....

99 views
Skip to first unread message

agente_mor

unread,
Jan 24, 2013, 5:12:11 PM1/24/13
to xmlse...@googlegroups.com
With the following code:
$objDSig->setCanonicalMethod(XMLSecurityDSig::EXC_C14N);

It is generated the following:
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

How can I change the first instruction shown in order to generate the following?
http://www.w3.org/TR/2001/REC-xml-c14n-20010315

which is reported by a validator of xml messages.

thanks
mario

agente_mor

unread,
Jan 24, 2013, 5:45:23 PM1/24/13
to xmlse...@googlegroups.com
Found it,
instead of EXC_C14N
just write C14N
mario
Reply all
Reply to author
Forward
0 new messages