W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2005

xml datatype facets

From: Geoff Chappell <geoff@sover.net>
Date: Wed, 12 Jan 2005 14:14:10 -0500
To: <www-rdf-interest@w3.org>
Message-ID: <002001c4f8da$e595df60$6401a8c0@gsclaptop>

Hi,

Any one know of any standards or best practices for specifying facets on xml
datatypes in rdf? 

I imagine something like this (in turtle/n3):

ex:LengthConstrainedString a rdfs:Datatype;
  rdfs:subClassOf xsd:string;
  xsd:maxLength "32"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>;
  xsd:minLength "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>.


Or....?

Thanks,

Geoff
Received on Wednesday, 12 January 2005 19:14:15 GMT

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