W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2003

Re: [Fwd: Jena semantic tests]

From: Graham Klyne <gk@ninebynine.org>
Date: Mon, 28 Jul 2003 16:52:15 +0100
Message-Id: <5.1.0.14.2.20030728165012.026b1d30@127.0.0.1>
To: Brian McBride <bwm@hplb.hpl.hp.com>, Dan Connolly <connolly@w3.org>
Cc: rdf core <w3c-rdfcore-wg@w3.org>

At 14:16 28/07/03 +0100, Brian McBride wrote:
>I think we've had that in a comment from them.  They pointed out, as I
>understand it, that whitespace processing occurs before the lexical form
>is determined, thus "3" is a member of the lexical space of decimal, but
>" 3 " is not.
>
>   <foo xsi:type="xsd:decimal"> 3 </foo>
>
>is legal because the spaces are discarded as part of determining the
>lexical form.

This is also mentioned in the syntax document...
[[
Note (Informative): In XML Schema (part 1)[XML-SCHEMA1], white space 
normalization occurs during validation according to the value of the 
whiteSpace facet. The syntax mapping used in this document occurs after 
this, so the whiteSpace facet has no further effect.
]]
-- http://www.w3.org/2001/sw/RDFCore/TR/WD-rdf-syntax-grammar-20030117/
-- section 6.1.9

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 28 July 2003 12:39:24 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:58:51 EDT