W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2003

Re: RDF validator

From: Emmanuel Pietriga <epietriga@nuxeo.com>
Date: Wed, 08 Oct 2003 08:50:06 +0200
Message-ID: <3F83B39E.2080307@nuxeo.com>
To: Charlie Abela <abcharl@keyworld.net>
Cc: www-rdf-interest@w3.org

Charlie Abela wrote:

> 
> Need some clarifications pleaseI am using the RDF validator and in my RDF/s file I've set the range as "&xsd;#integer" though when
> I created an instance I've tried to give it a string instead, but the document was parsed correctly.
> Is this because the validator just validates the syntax and not the semantics? 

The validator does not check that literal values are valid w.r.t the 
specified datatype.

But I think Jena 2.0 [1] provides classes to validate typed literals (at 
least basic XSD types). I might be wrong though.

[1] http://www.hpl.hp.com/semweb/jena2.htm

Emmanuel

-- 
Emmanuel Pietriga (epietriga@nuxeo.com)
tel (mobile): +33 6 88 51 94 98
Received on Wednesday, 8 October 2003 02:52:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:02 GMT