xml datatype facets

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 UTC