OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xri] Possibly a small error an XRD Schema.


njones@ouno.com wrote on 2009-10-26:
> In reading over the document to write up a blog post, I noticed that in
> section 6 talking about creating an XRD Sequence the schema contains:
> 
>      <element ref="xrd:XRD" minOccurs="0" maxOccurs="unbounded"/>
> 
> Shouldn't that be:
> 
>      <element ref="xrd:XRD" minOccurs="1" maxOccurs="unbounded"/>

I believe it was debated and left at 0 intentionally. In past cases like this, overly constraining the schema has usually been a mistake. Leaving it open allows people to return "empty" result sets without having to leverage transport layer signaling, for example.

-- Scott






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]