Re: cwm allows more datatypes in N3 than in RDF/XML

On Thu, 2006-08-10 at 11:46 -0400, Yosi Scharf wrote:
> Dan Connolly wrote:
> > cwm reads this in...
> >
> > <http://dig.csail.mit.edu/TAMI/2006/07/s3#arrest-1>
> > <http://dig.csail.mit.edu/TAMI/cph/v2/deduce#arrest-item-justified>
> > "false"^^<xsd:Boolean> .
> >
> > and writes this out...
> >
> >  <ded:arrest-item-justified rdf:datatype="xsd:Boolean">
> >
> > but then when you try to read that back in, cwm complains
> > that there's no # in the datatype URI...
> >
> >
> >   
> Sure, I can fix that, disallowing it in term.py, for instance. Did you mean
> 
> "false"^^xsd:boolean, .ie "false"^^<http://www.w3.org/2001/XMLSchema#boolean> ?

Yes; we fixed the agent that was producing the erroneous <xsd:Boolean>
syntax.

>  Are you simply trying to get cwm to force you to get that right?

I'm not sure; the specs don't actually require datatype URIs to have #'s
in them. I'd rather cwm gave a warning in this case.

>  Or did you really mean to use the xsd: protocol?
> 
> 
> Yosi

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Thursday, 10 August 2006 17:00:45 UTC