Description

Xslt parser fails with any xml saying: 'module' object has no attribute 'SchemeRegistryResolver'

Steps to reproduce

  1. Moin-moin 1.5.5a, Python 2.5, 4Suite 1.0.2
  2. Follow the instructions at http://moinmoin.wikiwikiweb.de/HelpOnXmlPages

  3. Copy-paste the sample from that page

Example

Component selection

Details

traceback.html

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.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/XsltSchemeRegistryResolverUndefined (last edited 2007-10-29 19:08:48 by localhost)