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

RE: xmlsch-02 whitespace facet discussion

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Fri, 9 May 2003 12:22:58 +0200
To: "Jeremy Carroll" <jjc@hplb.hpl.hp.com>, <w3c-rdfcore-wg@w3.org>
Message-ID: <BHEGLCKMOHGLGNOKPGHDAEJLCBAA.jjc@hpl.hp.com>


> I think we could go in either of two directions:
>
> A: accept the comment
> "worried that it may not be
>     obvious that the whitespace processing is not part of the process of
>     checking lexical forms for type validity," and add test cases to
> demonstrate that whitespace is significant even inside typed literals of
> types which in a XML Schema context would get processed away (such as the
> integer examples)
>
>

PROPOSE RDF Core accepts the comment xmlsch-02 and agree to add the
following test case:


<rdf:Description rdf:about="http://www.example.org/a">
   <eg:prop rdf:datatype="&xsd;int">3</eg:prop>
</rdf:Description>

Does not entail

<rdf:Description rdf:about="http://www.example.org/a">
   <eg:prop rdf:datatype="&xsd;int"> 3 </eg:prop>
</rdf:Description>

Moreover the following comment to be added to concepts:

[[
NOTE: In [XML Schema (part 1)], 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.
]]



http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#section-White-Space-Norm
alization-during-Validation
Received on Friday, 9 May 2003 06:23:20 EDT

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