W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2004

Re: A question for RDF parser implementers - whitespace

From: Jon Hanna <jon@hackcraft.net>
Date: Mon, 12 Jul 2004 10:41:34 +0100
Message-ID: <1089625294.40f25ccec388b@82.195.128.192>
To: "www-rdf-interest@w3.org" <www-rdf-interest@w3.org>

Quoting Graham Klyne <GK@ninebynine.org>:

>     <geo:lat rdf:datatype="http://www.w3.org/2001/XMLSchema#double"
>      >  42.4   </geo:lat>
> 
> then this goes to the heart of my question.  I'd expect that to treated the 
> same as:
> 
>     <geo:lat rdf:datatype="http://www.w3.org/2001/XMLSchema#double"
>      >42.4</geo:lat>
> 
> But I think the mere fact of being datatyped is insufficient to determine 
> the correct whitespace handling, as the xsd:string case shows.

I think it's sufficient to determine correct whitespace handling when being
processed by something that understands the datatypes.

An RDF processor that does not understand the datatypes would have to preserve
the whitespace as the more conservative choice, however if it later passed the
value and the datatype URI to a process that did understand datatypes then the
whitespace handling could be performed at that stage.

-- 
Jon Hanna
<http://www.hackcraft.net/>
"…if it walks like a duck, and quacks like a duck, it's probably not a 
ConceptualWork about a duck." - Mark Baker
Received on Monday, 12 July 2004 05:41:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:50 UTC