Forums / Install & configuration / Problem with xml parsing and anchors after upgrading to 4.3

Problem with xml parsing and anchors after upgrading to 4.3

Author Message

Sander van den Akker

Sunday 26 September 2010 9:44:52 am

Hi! I have been upgrading a site from 3.9.4 to 4.3. Until 4.2 everything went fine following the upgrade docs, but after upgrading to 4.3 I have a strange problem involving the parsing of xml attributes and anchors inside.

Many pages on the site start with a bulletlist of anchor links, which are pointing to anchors lower on the page. When I look at the XML I see <anchor> tags are located before <strong> tags. In 4.2 this was being parsed without problems, but 4.3 seems to delete whole bunches of text from pages when viewing. When I edit the contents everything is shown correctly, and when I try to fix the page eZ OE seems to place the <anchor> tags after the <strong> tags.

Is this a bug? And if not, is there any way to have these pages fixed automatically? Thanks!

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

André R.

Monday 27 September 2010 12:33:22 am

This should have been fixed, try downloading http://github.com/ezsystems/ezpublish/blob/master/kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php or upgrade to 4.4 (it's out in a few days).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Sander van den Akker

Monday 27 September 2010 3:36:20 am

Thanks, that solved the problem mostly! However, I now bump into a different problem: a lot of empty paragraphs are generated, while the AllowEmptyParagraph setting in content.ini is set to false. Does this sound familiar too?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313