- From: Ian B. Jacobs <ij@w3.org>
- Date: Wed, 05 Nov 2003 15:46:28 -0500
- To: www-archive+n3bugs@w3.org
- Message-Id: <1068065188.16909.42.camel@seabright>
Hello,
When I use cwm --rdf 16-webarch-owl.rdf --n3
on the attached file, there is no error.
When I use cwm --rdf 16-webarch-owl.rdf --n3 --pipe
I get the error and message indicate below.
_ Ian
=================================================================
bash-2.05b$ cwm --rdf 16-webarch-owl.rdf --n3 --pipe
#Processed by Id: cwm.py,v 1.144 2003/09/14 20:20:20 timbl Exp
# using base
file:/home/ian/CVS-local/WWW/2003/10/16-webarch-owl.rdf
# Notation3 generation by
# notation3.py,v 1.147 2003/10/20 17:31:55 timbl Exp
# Base was: file:/home/ian/CVS-local/WWW/2003/10/16-webarch-owl.rdf
#RDF parsed by Id: sax2rdf.py,v 1.36 2003/08/27 15:39:16 ryanlee Exp
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsdt: <http://www.w3.org/2001/XMLSchema#> .
@prefix string: <http://www.w3.org/2000/10/swap/string#> .
@prefix webarch: <http://www.w3.org/2003/10/16-webarch-owl#> .
Traceback (most recent call last):
File "/home/ian/CVS-local/WWW/2000/10/swap/cwm.py", line 652, in ?
doCommand()
File "/home/ian/CVS-local/WWW/2000/10/swap/cwm.py", line 380, in
doCommand
p.load(_inputURI)
File "/home/ian/CVS-local/WWW/2000/10/swap/sax2rdf.py", line 594, in
load
return self.loadStream(f)
File "/home/ian/CVS-local/WWW/2000/10/swap/sax2rdf.py", line 601, in
loadStream
self._p.parse(s)
File "/usr/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.3/xml/sax/expatreader.py", line 359, in
start_namespace_decl
self._cont_handler.startPrefixMapping(prefix, uri)
File "/home/ian/CVS-local/WWW/2000/10/swap/sax2rdf.py", line 295, in
startPrefixMapping
self.sink.bind(prefix, uri)
File "/home/ian/CVS-local/WWW/2000/10/swap/notation3.py", line 1125,
in bind
raise RuntimError("Please use setDefaultNamespace instead")
NameError: global name 'RuntimError' is not defined
=============================================================
--
Ian Jacobs (ij@w3.org) http://www.w3.org/People/Jacobs
Tel: +1 718 260-9447
Attachments
- text/plain attachment: 16-webarch-owl.rdf
Received on Wednesday, 5 November 2003 15:46:34 UTC