This document:Public document·View comments·Disposition of Comments·
Nearby:XML Security Working Group Other specs in this tool
Quick access to LC-2487 LC-2488 LC-2506 LC-2507
Previous: LC-2488 Next: LC-2506
There is an error in the XML Signature 2.0 examples, the dsig2:Selection attribute which specifies the type is named "type" and it should be named "Algorithm" according to the schema ( see http://www.w3.org/TR/2011/WD-xmldsig-core2-20110421/#sec-Selection ) Proposal, change "type='" to "Algorithm=" in the following. (a) In 2.1, http://www.w3.org/TR/2011/WD-xmldsig-core2-20110421/#sec-o-Simple-2.0 [s07a] <dsig2:Selection type="http://www.w3.org/2010/xmldsig2#xml" xmlns:dsig2="http://www.w3.org/2010/xmldsig2#" URI="http://www.w3.org/TR/2000/REC-xhtml1-20000126"> (b) In 2.2, http://www.w3.org/TR/2011/WD-xmldsig-core2-20110421/#sec-DetailedIdExample-2.0 [ i23 ] <dsig2:Selection type="http://www.w3.org/2010/xmldsig2#xml" URI="#MsgBody" /> (c) and in 2.3, http://www.w3.org/TR/2011/WD-xmldsig-core2-20110421/#sec-DetailedXPathExample-2.0 [ p24 ] <dsig2:Selection type="http://www.w3.org/2010/xmldsig2#xml" URI=""> regards, Frederick Frederick Hirsch Nokia xs:element name="Selection" type="dsig2:SelectionType"/> <xs:complexType name="dsig2:SelectionType"> <xs:sequence> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="URI" type="xs:anyURI" use="required"/> <xs:attribute name="Algorithm" type="xs:anyURI" use="required"/> </xs:complexType>