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

cwm's n3 outputter has problems with its flags

From: Yosi Scharf <syosi@MIT.EDU>
Date: Fri, 3 Aug 2007 10:34:47 -0400
To: public-cwm-bugs@w3.org
Message-Id: <A4B63837-7BFB-48B4-A049-B059C720821B@mit.edu>
If I take the attached n3 file

and run
-------
30-7-176:~/SWAP/test/sparql yosi$ cwm --n3=usbpartnev odd_n3.n3
#Processed by Id: cwm.py,v 1.193 2007/06/26 02:36:15 syosi Exp
         #    using base file:///Users/yosi/CVSROOT/WWW/2000/10/swap/ 
test/sparql/odd_n3.n3

#  Notation3 generation by
#       notation3.py,v 1.195 2007/06/26 02:36:15 syosi Exp

#   Base was: file:///Users/yosi/CVSROOT/WWW/2000/10/swap/test/sparql/ 
odd_n3.n3

       [  .
         <file:///Users/yosi/CVSROOT/WWW/2000/10/swap/test/sparql/ 
odd_n3.n3#_g0>     <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  
<http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSet> ].

#ENDS
======

which is not valid n3. If I get rid of the "s" flag it fixes itself
--------
30-7-176:~/SWAP/test/sparql yosi$ cwm --n3=ubpartnev odd_n3.n3
#Processed by Id: cwm.py,v 1.193 2007/06/26 02:36:15 syosi Exp
         #    using base file:///Users/yosi/CVSROOT/WWW/2000/10/swap/ 
test/sparql/odd_n3.n3

#  Notation3 generation by
#       notation3.py,v 1.195 2007/06/26 02:36:15 syosi Exp

#   Base was: file:///Users/yosi/CVSROOT/WWW/2000/10/swap/test/sparql/ 
odd_n3.n3

       [      <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  
<http://www.w3.org/2001/sw/DataAccess/tests/result-set#ResultSet> ].

#ENDS
=======


Yosi

Received on Friday, 3 August 2007 14:35:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:01 UTC