[XML-SIG] specifying xsl:version number with 4xslt
jeremy.kloth at fourthought.com
Mon Jun 30 12:51:03 EDT 2003
Jed Parsons <jedp at ilm.com> wrote:
> Hi, Uche,
>> If you try the offending import directly, does it work?
> Ah - that gives me this:
>>>> from Ft.Xml.XPath import Util
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/home/jedp/lib/python/Ft/Xml/XPath/__init__.py", line 122, in
> ? from Util import NormalizeNode
> File "/home/jedp/lib/python/Ft/Xml/XPath/Util.py", line 17, in ?
> from Ft.Xml import Domlette, XML_NAMESPACE, XMLNS_NAMESPACE,
> EMPTY_NAMESPACE File "/home/jedp/lib/python/Ft/Xml/Domlette.py",
> line 33, in ? from cDomlette import implementation, nonvalParse,
> valParse File "/home/jedp/lib/python/Ft/Xml/cDomlette.py", line 16,
> in ? import cDomlettec
> ImportError: Expat version mismatch; expected 1.95.6, found 1.95.2
> Er, how do I swap in a more current Expat?
This message indicates that there exists symbolic conflicts between two
different Python modules (or Python itself if pyexpat is built statically).
If your system is Mac OS X or OpenBSD there is some information here:
Otherwise, to determine if Python is built with a static pyexpat, try this
in a Python interpreter:
If pyexpat is listed there, rebuild Python with pyexpat as a shared module.
More information about the XML-SIG