RE: xsi:type test case

> -----Original Message-----
> From: ext Graham Klyne [mailto:Graham.Klyne@MIMEsweeper.com]
> Sent: 06 August, 2002 19:49
> To: Jeremy Carroll
> Cc: w3c-rdfcore-wg@w3.org
> Subject: Re: xsi:type test case
> 
> 
> 
> At 05:38 PM 8/2/02 +0200, Jeremy Carroll wrote:
> 
> >Are the two documents descriptions of the same graph?
> >
> ><rdf:RDF>
> >   <rdf:Description>
> >     <eg:prop xsi:type="xsd:decimal">2.0</eg:prop>
> >   </rdf:Description>
> ></rdf:RDF>
> >
> >
> >
> ><rdf:RDF>
> >   <rdf:Description>
> >     <eg:prop xsi:type="xsd:decimal">2.00</eg:prop>
> >   </rdf:Description>
> ></rdf:RDF>
> >
> >I think I heard yes.
> 
> If the literal is intended to be a number, then I think yes.

A few questions:

1. What triples are generated from the above?

2. Will this work with non-XML Schema datatypes?

3. Will this work with arbitrarily/user defined primitive types?

4. How does this relate to defining datatype ranges of properties?

Patrick

Received on Wednesday, 7 August 2002 03:43:19 UTC