W3C home > Mailing lists > Public > www-webont-wg@w3.org > January 2003

XSLT: datatype problems (*)

From: Jerome Euzenat <Jerome.Euzenat@inrialpes.fr>
Date: Wed, 22 Jan 2003 16:41:11 +0100
Message-Id: <a05200f07ba54640ecc33@[194.199.20.189]>
To: www-webont-wg@w3.org
Cc: Mike Dean <mdean@bbn.com>

Hello,

	still no answer to my question so I insist a bit:

In his message (Guide question (OneOf) (was Re: OWL datatyping and 
exam) of 12/01/2003,
Jim Hendler wrote:
>p.s. Jerome makes a good point, if oneOf can be used for datatypes, 
>we should show an example (perhaps in the datatype section) since 
>this will be a relatively complex construction - but very useful 
>(use case: saying a value must be the string "a", the string "b", 
>the string "c" or the string "d" would be very valuable in 
>recognizing legal answers for your online 'Who wants to be a 
>millionaire')

Indeed I recall my remark because this is the place that I cannot 
translate from the XML syntax. The problem is that I have no example 
of expressing the oneOf parseType="collection" containing a set of 
litteral.

It appears that the RDF/XML syntax only allows nodes (and no 
litterals) within parseType="collection". This is a modification from 
the rdf:li construct of the former recommendation that allowed 
litterals in collections.

It seems important if we wish to constrain the value of an attribute 
to be among a set of litteral. So I will put a mail to RDFCore if 
they want to consider this problem.

-- 
  Jérôme Euzenat                  __
                                  /      /\
  INRIA Rhône-Alpes,            _/  _   _   _ _    _
                               /_) | ` / ) | \ \  /_)
  655, avenue de l'Europe,    (___/___(_/_/  / /_(_________________
  Montbonnot St Martin,       /        http://www.inrialpes.fr/exmo
  38334 Saint-Ismier cedex,  /          Jerome.Euzenat@inrialpes.fr
  France____________________/                Jerome.Euzenat@free.fr
Received on Wednesday, 22 January 2003 10:43:17 GMT

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