- From: Jeen Broekstra <jeen@aduna.biz>
- Date: Wed, 08 Oct 2003 10:13:41 +0200
- 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? In > building an application that handles/manipulates RDF is there a > way by which I can enforce the data type consistency in RDF, or > do I have to handle it internally in my software? You could take a look at the Rio RDF parser package[1], which has validation support for datatypes - though it currently only supports boolean, float, double, decimal and all subtypes of decimal (integer, nonNegativeInteger, byte, unsigned short, etc.). Jeen [1] Download at http://sourceforge.net/projects/sesame. It's fairly small and includes Javadoc documentation. -- jeen@aduna.biz Aduna (formerly Aidministrator b.v.) - http://www.aduna.biz Julianaplein 14b, 3817 CS Amersfoort, The Netherlands tel. +31-(0)33-4659987, fax. +31-(0)33-4659987
Received on Wednesday, 8 October 2003 04:14:12 UTC