Description
Xslt parser fails with any xml saying: 'module' object has no attribute 'SchemeRegistryResolver'
Steps to reproduce
- Moin-moin 1.5.5a, Python 2.5, 4Suite 1.0.2
Follow the instructions at http://moinmoin.wikiwikiweb.de/HelpOnXmlPages
- Copy-paste the sample from that page
Example
Component selection
- either xslt.py or 4suite
Details
MoinMoin Version |
1.5.5a |
OS and Version |
Windows 2003 Server |
Python Version |
2.5 |
Language you are using the wiki in (set in the browser/UserPreferences) |
ru |
Workaround
Replace >=1.0a4 with >=1.0.2 in \Moin\Lib\site-packages\MoinMoin\parser\xslt.py
Discussion
The >= "1.0a4" version comparison is broken (false) for "1.0.2".
Someone using this code (current moin and 4suite 1.0.2) has to debug and fix this, I guess just fixing the version comparison and maybe doing the right import is enough.
- I've replaced the version number and it worked fine!
- OK, some untested code fixing this stuff for 1.0aN 1.0bN 1.0 and 1.0.1..1.0.9 committed to 1.5 branch (hoping they stop making funny things and continue with 1.1 after 1.0.9).
One note regarding the DocBook instruction at http://moinmoin.wikiwikiweb.de/HelpOnXmlPages It says "and copy the whole directory html into another directory", but actually you have to copy the whole DocBook directory, not only html.
Please fix that on HelpOnXmlPages.
Plan
- Priority:
- Assigned to:
- Status: fixed in 1.5