Description
Creating a page in MMDE using the GUI editor and pasting a spreadsheet from Excel gives you an expat error.
ExpatError: unbound prefix: line 376, column 1875 (see dump in C:\Programmi\vari\moinmonwiki\MMDE\wiki\data\expaterror.log)
Your task is to reproduce the problem using the 1.6 branch. Find out the (minimal) html causing the problem. Find other, similar stuff causing the same problem (e.g. paste from word or try different office versions).
This task needs about 10h and has to be completed within 7 days.
Component selection
- This bug happens as expat requires all XML namespaces to be explicitly defined. Pasting from Word / Excel does not do this.
Details
MoinMoin Version |
MMDE |
OS and Version |
Windows XP SP2 |
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
EN |
Workaround
Currently I have a patch up at http://code.google.com/p/google-highly-open-participation-moinmoin/issues/detail?id=48 that has been tested with Office 2003. If other people could try and paste at http://cb22.za.net/wiki/TestPage in GUI mode with different versions of Office, it would be much appreciated. I've asked some people to test my above mentioned patch, and it works for both Office 2007 on a PC and Office 2008 on a Mac.
Discussion
We need the html you wanted to convert (the gui editor edits html, sends it back to moin and moin has to convert it to wiki markup). Even better would be a minimal case when this happens, so that we see which tag is problematic. FCKeditor has some "paste from word" function - did you use that? It cleans the html rubbish it gets from MS apps.
Plan
- Priority:
- Assigned to:
- Status: Fixed in 1.6.1