W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > November 2004

Ooops - no xml:lang language output in to XML serializer

From: Tim Berners-Lee <timbl@w3.org>
Date: Mon, 8 Nov 2004 12:16:46 -0500
Message-Id: <F80E8D14-31A9-11D9-8CE9-000A9580D8C0@w3.org>
Cc: public-cwm-bugs@w3.org
To: Yosi Scharf <syosi@MIT.EDU>

$ pwd
$ time cwm --pipe *.rdf  > /dev/null
Traceback (most recent call last):
   File "/devel/WWW/2000/10/swap/cwm.py", line 650, in ?
   File "/devel/WWW/2000/10/swap/cwm.py", line 426, in doCommand
   File "/devel/WWW/2000/10/swap/webAccess.py", line 152, in load
   File "/devel/WWW/2000/10/swap/sax2rdf.py", line 643, in feed
   File "/sw/lib/python2.2/xml/sax/expatreader.py", line 144, in feed
     self._parser.Parse(data, isFinal)
   File "/sw/lib/python2.2/xml/sax/expatreader.py", line 273, in 
     self._cont_handler.endElementNS(pair, qname)
   File "/devel/WWW/2000/10/swap/sax2rdf.py", line 563, in endElementNS
     obj = self.sink.newLiteral(buf, self._datatype, lang)
   File "/devel/WWW/2000/10/swap/RDFSink.py", line 262, in newLiteral
     if lang != None: raise ValueError("This sink cannot accept values 
with languages")
ValueError: This sink cannot accept values with languages

real    0m1.615s
user    0m0.750s
sys     0m0.210s
Received on Monday, 8 November 2004 17:17:34 UTC

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