Re: XML Signature 2.0 Last Call comment - correction to examples

I have recorded this in Tracker as Last Call comment LC-2487

http://www.w3.org/2006/02/lc-comments-tracker/42458/WD-xmldsig-core2-20110421/2487

regards, Frederick

Frederick Hirsch
Nokia



On Jun 10, 2011, at 3:41 PM, Hirsch Frederick (Nokia-CIC/Boston) wrote:

> 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>

Received on Tuesday, 14 June 2011 13:05:33 UTC