[rdfweb-dev] Smushing the Semantic Web / Invalid data in IFP's

Perry Lorier perry at coders.net
Wed Mar 24 13:07:58 UTC 2004


Victor Lindesay wrote:
>>From Perry:
> 
>>Does validating fields with regex's make 
>>sense?  What are the regex's that things should be validated against? 
> 
> 
> Regex ?!?!
> 
> FOAF is RDF. Surely an RDF parser would be the appropriate tool?
> 

regex's for the literals.  a mbox_sha1sum is /^[0-9a-z]{40}$/ anything 
else in a sha1sum field is meaningless.  an email address/jabber ID are 
"something at host.name".  are there others that have obvious formats?



More information about the foaf-dev mailing list