- From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
- Date: Tue, 13 Jul 2004 08:57:28 +0100
- To: Norman Walsh <Norman.Walsh@Sun.COM>
- Cc: www-rdf-interest@w3.org
> Correct. In order to get the whitespace handling right you need to > understand the datatype specified. > > Which is impossible, in the general case, I suppose: > > <foo:bar rdf:datatype="http://example.org/XMLSchema#myFooType" > > 42.4 </geo:lat> > What we wrote was: http://www.w3.org/TR/rdf-concepts/#section-Datatypes [[ In [XML-SCHEMA1], white space normalization occurs during validation according to the value of the whiteSpace facet. The lexical-to-value mapping used in RDF datatyping occurs after this, so that the whiteSpace facet has no effect in RDF datatyping. ]] i.e. " 42.4 "^^xsd:decimal is simply a datatyping error," 42.4 " is not an xsd:decimal, "42.4" is. RDF/XML expects the whitespace validation to have been done before the document was written Jeremy
Received on Tuesday, 13 July 2004 04:44:49 UTC