W3C home > Mailing lists > Public > www-webont-wg@w3.org > August 2002

Re: GUIDE: Syntax query re parseType=

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Thu, 29 Aug 2002 15:55:12 -0400 (EDT)
Message-Id: <20020829.155512.68531841.pfps@research.bell-labs.com>
To: michael.smith@eds.com
Cc: www-webont-wg@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:51 GMT