Re: GUIDE: Syntax query re parseType=

From: "Smith, Michael K" <michael.smith@eds.com>
Subject: RE: GUIDE: Syntax query re parseType=
Date: Thu, 29 Aug 2002 13:18:49 -0500

> Ok.  I find the choice of keyword bizarre.  Mixing syntax
> and semantics in an odd way. 
> 
> So the difference between
> 
> 	<daml:oneOf rdf:parseType="daml:collection">
> 	  <rdf:li> <Person rdf:id="John" /> </rdf:li>
> 	  <rdf:li> <Person rdf:id="Bill" /> </rdf:li>
> 	</daml:oneOf>
> and
> 	<daml:oneOf>
> 	  <rdf:li> <Person rdf:id="John" /> </rdf:li>
> 	  <rdf:li> <Person rdf:id="Bill" /> </rdf:li>
> 	</daml:oneOf>
> 
> is that I can prove that the first one has exactly 2 elements?
> While I can't extend the second one (since I can't reference it), the
> semantics don't require that it be closed.  

More or less, this is the difference.  It would be possible to extend the
second one under certain circumstances.

peter

Received on Thursday, 29 August 2002 15:55:22 UTC