W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > September 2005

Bugs with encoding

From: Karl Dubost <karl@la-grange.net>
Date: Sat, 3 Sep 2005 13:56:29 -0400
Message-Id: <4656F508-A743-45B6-91ED-A0FAE0AE1E8D@la-grange.net>
To: public-cwm-bugs@w3.org

I tried this
cwm --rdf http://simile.mit.edu/piggy-bank/doap.rdf --n3

And got error messages. see below


In the original file, there's a wrong encoding

<foaf:name xml:lang="en-US" rdf:datatype="http://www.w3.org/2001/ 
XMLSchema#string">David François Huynh</foaf:name>

Maybe there should be an error message saying that there is an  
encoding problem.


#Processed by Id: cwm.py,v 1.177 2005/08/28 22:53:56 syosi Exp
         #    using base http://simile.mit.edu/piggy-bank/doap.rdf
         Traceback (most recent call last):
   File "/Users/karl/Sites/w3.org/WWW/2000/10/swap/cwm.py", line 715,  
in ?
     doCommand()
   File "/Users/karl/Sites/w3.org/WWW/2000/10/swap/cwm.py", line 433,  
in doCommand
     referer="")
   File "/Users/karl/Sites/w3.org/WWW/2000/10/swap/webAccess.py",  
line 178, in load
     p.feed(buffer)
   File "/Users/karl/Sites/w3.org/WWW/2000/10/swap/sax2rdf.py", line  
767, in feed
     self._p.feed(data)
   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed
     self._err_handler.fatalError(exc)
   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError
     raise exception
xml.sax._exceptions.SAXParseException: <unknown>:15:96: not well- 
formed (invalid token)


-- 
Karl Dubost - http://www.la-grange.net/
Près de vous, madame, oubliant les cieux,
L'astronome étonné se trouble;
C'est dans l'éclat caressant de vos yeux,
Qu'il avait cru trouver l'étoile double.
Received on Sunday, 4 September 2005 05:11:54 UTC

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