[XML-SIG] Tiny XPath

Torsten Rueger torsten.rueger at hiit.fi
Wed Jul 30 15:10:53 EDT 2003


On Wednesday, Jul 30, 2003, at 10:45 Europe/Helsinki, Martin v. Löwis  
wrote:
>
> The one in PyXML is 100% pure, and works with minidom.
>
Thanks. Is there a way of installing just the xpath ?
Also it seems to clash with Ft stuff and even I deleted that still does  
not work ?

Torsten

 >>> import xml.xpath
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/_xmlplus/xpath/__init__.py", line 23, in ?
     from xml.dom import Node
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/_xmlplus/dom/__init__.py", line 237, in ?
     import MessageSource
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/_xmlplus/dom/MessageSource.py", line 22, in ?
     gettext.install('4Suite', locale_dir)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 428, in install
     translation(domain, localedir, fallback=True).install(unicode)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 416, in translation
     t = _translations.setdefault(key, class_(open(mofile, 'rb')))
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 176, in __init__
     self._parse(fp)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 304, in _parse
     tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: CHARSET




More information about the XML-SIG mailing list