W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > August 2006

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

From: Dan Connolly <connolly@w3.org>
Date: Thu, 10 Aug 2006 12:00:35 -0500
To: Yosi Scharf <syosi@MIT.EDU>
Cc: public-cwm-bugs@w3.org
Message-Id: <1155229236.30621.560.camel@dirk.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT