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

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 UTC