W3C

Edit comment LC-2487 for XML Security Working Group

Quick access to

Previous: LC-2488 Next: LC-2506

Comment LC-2487
:
Commenter: <Frederick.Hirsch@nokia.com>

or
Resolution status:

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>
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2487.html,v 1.1 2017/08/11 06:45:24 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org