[Zope-xml] Re: XML Transform doc bug ..
Uche Ogbuji
uche.ogbuji at fourthought.com
Tue Sep 10 16:11:09 EDT 2002
> Hello Jean and Uche:
>
> I just downloaded and installed the 9/10 CVS snapshot of 4Suite,
> and I installed my system as follows:
>
> Red Hat Linux 7.2
> Zope 2.5.1
> 4Suite 9/10/2002
>
> My test suite reports the following error:
>
> python alltests.py
> SOFTWARE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python
> INSTANCE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python/Testing
> Loading Zope, please stand by ... done (3.864s)
> You must either install PyXML v0.7.1 or recompile your python with PyExpat
> support to use 'StylesheetReader.py'
>
> None of my code calls StylesheetReader directly, so maybe this is due
> to the fact that I am substituting my own InputSource?
Bah. I forgot about StylesheetReader. Almost anything you do with the XPath
or XSLT code triggers a StylesheetReader import. At the least, I'll update
that message to suggest PyXML 0.8 or 0.8.1 (due out this week).
> Anyway, its fine either way. If this is intended, then the docs are correct
> as is, and PyXML 0.7.1 *is* required. Otherwise, if we can remove this
> dependency, I will update my docs to indicate that PyXML is *not*
> required for XMLTransform.
If Python has PyExpat built in, then you don't need PyXML. I think this will
be the default in Python 2.3. However, in 2.1 and 2.2, it might be less
confusing to just say that PyXML is required.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC
More information about the Zope-xml
mailing list