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

From
Scott Cantor <>
Date
2009-10-26T19:17:29+00:00
ID
00bd01ca5670$f1963780$d4c2a680$@
Thread
RE: [xri] Possibly a small error an XRD Schema.
 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