Description

ExpatError: mismatched tag: line 376, column 1239 (see dump in /var/www/moin/home/data/expaterror.log)

If you want to report a bug, please save this page and attach it to your bug report.

    * Show debugging information
    * Report bug
    * Visit MoinMoin wiki

Steps to reproduce

  1. do this...

Example

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

This issue is covered by other GUI editor bugs. It mainly means that you pasted or copied text that contains incorrect (not wellformed) HTML. MoinMoin uses a strict parser and cannot do anything about this.

I have come across this issue with the GUI editor in Chrome(7.0 on Windows 32bit) Windows and Chromium(6.0.4 on Ubuntu 10.10(i386)).

No cut and paste is necessary, simply try to save a new page with Google chrome.(I was able to reproduce with chromium, creating http://moinmo.in/MoinMoinBugs/ExpatError/Test with the default text)

This patch fixed the issue for me:

--- ./moin-1.9.3/MoinMoin/web/static/htdocs/applets/moinfckconfig.js    2010-06-26 22:46:46.000000000 +0100
+++ ../new/moin-1.9.3/MoinMoin/web/static/htdocs/applets/moinfckconfig.js       2010-11-13 23:22:21.282645001 +0000
@@ -37,9 +37,10 @@
  //['Bold', 'Italic', 'Typewriter', 'Underline', 'StrikeThrough', '-', 'Big', 'Small', 'Superscript', 'Subscript'],
  ['Bold', 'Italic', 'Underline', 'StrikeThrough', 'RemoveFormat'],
  ['OrderedList','UnorderedList','-','Indent','Outdent'],
- ['Link','Unlink','Attachment','Image','Smiley'],
+ ['Link','Image','Smiley'],
+// ['Link','Unlink','Attachment','Image','Smiley'],
  ['Table','Rule','SpecialChar'],
- ['Macro'],
+// ['Macro'],
  ['Source']
 ] ;

@@ -74,13 +75,13 @@
 */
 FCKConfig.Plugins.Add( 'selection') ;
 FCKConfig.Plugins.Add( 'moinbehaviour') ;
-FCKConfig.Plugins.Add( 'restrict_actions' ) ;
+//FCKConfig.Plugins.Add( 'restrict_actions' ) ;
 FCKConfig.Plugins.Add( 'moinunlink' );
 FCKConfig.Plugins.Add( 'macro', 'en,it' ) ;
-FCKConfig.Plugins.Add( 'moinlink' ) ;
-FCKConfig.Plugins.Add( 'moinattachment' ) ;
+//FCKConfig.Plugins.Add( 'moinlink' ) ;
+//FCKConfig.Plugins.Add( 'moinattachment' ) ;
 FCKConfig.Plugins.Add( 'moinformat' ) ;
-FCKConfig.Plugins.Add( 'moinimage' ) ;
+//FCKConfig.Plugins.Add( 'moinimage' ) ;
 FCKConfig.Plugins.Add( 'smiley' );

 /* The list of the smiley images. MUST be done from here, auto-generating in MoinMoin-Code does not work! */

This fixed the issue for me on chrome, 'restrict_actions', 'moinlink', 'moinimage', 'moinattachment' seem to cause the post to become truncated, and therefore breaks the XML parsing.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ExpatError (last edited 2011-06-23 02:24:51 by moviezhou)