- From: Pratik Datta <pratik.datta@oracle.com>
- Date: Mon, 5 Sep 2011 23:25:12 -0700 (PDT)
- To: Frederick.Hirsch@nokia.com, public-xmlsec@w3.org
I have fixed these examples. ACTION-809 Pratik -----Original Message----- From: Frederick.Hirsch@nokia.com [mailto:Frederick.Hirsch@nokia.com] Sent: Tuesday, June 14, 2011 6:05 AM To: public-xmlsec@w3.org Cc: Frederick.Hirsch@nokia.com Subject: 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, 6 September 2011 06:26:23 UTC