- From: Dan Connolly <connolly@w3.org>
- Date: Thu, 10 Aug 2006 10:02:26 -0500
- To: public-cwm-bugs@w3.org
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...
#Processed by Id: cwm.py,v 1.186 2006/07/07 03:30:52 syosi Exp
# using base
http://swiss.csail.mit.edu/users/harveyj/dump.rdf
Traceback (most recent call last):
File "/home/connolly/w3ccvs/WWW/2000/10/swap/cwm.py", line 728, in ?
doCommand()
File "/home/connolly/w3ccvs/WWW/2000/10/swap/cwm.py", line 443, in
doCommand
why=myReason)
File "/home/connolly/w3ccvs/WWW/2000/10/swap/webAccess.py", line 180,
in load
p.feed(buffer)
File "/home/connolly/w3ccvs/WWW/2000/10/swap/sax2rdf.py", line 769, in
feed
self._p.feed(data)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py",
line 216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py",
line 364, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/connolly/w3ccvs/WWW/2000/10/swap/sax2rdf.py", line 644, in
endElementNS
obj = self.sink.newLiteral(buf, self._datatype, lang)
File "/home/connolly/w3ccvs/WWW/2000/10/swap/llyn.py", line 1350, in
newLiteral
assert dt is None or isinstance(dt, Fragment)
AssertionError
--
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 15:02:35 UTC