W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > October to December 2003

Re: ds:RetrievalMethod/@URI optional or mandatory?

From: Joseph Reagle <reagle@w3.org>
Date: Mon, 10 Nov 2003 21:15:08 -0500
To: "Martin Gudgin" <mgudgin@microsoft.com>, José Kahan <jose@w3.org>
Cc: <w3c-ietf-xmldsig@w3.org>
Message-Id: <200311102115.08709.reagle@w3.org>

On Monday 10 November 2003 13:56, Martin Gudgin wrote:
> There is a discrepancy in section 4.4.3[1] between the schema fragment
> and the DTD. The former states that the URI attribute is optional, while
> the latter states that it is mandatory. Which is correct?

Hi Martin, you are right, it's [1] optional unless specified otherwise for 
attributes [2]:
  use = (optional | prohibited | required) : optional

José, would you be willing to post an erratum to this end?


[1] http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/#sec-RetrievalMethod

  <attribute name="URI" type="anyURI"/>
  <attribute name="Type" type="anyURI" use="optional"/>

<!ATTLIST RetrievalMethod
      URI   CDATA #REQUIRED 
      Type  CDATA #IMPLIED >

[2] http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#element-attribute
Received on Monday, 10 November 2003 21:15:16 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:18 GMT