ezxmlexport extension won't export content with img properly

Author Message

Russell Michell

Monday 26 April 2010 7:38:27 pm

Hi all,

eZ 4.1.3, PHP 5.2.12, CentOS 5.4, MySQL 5.0.22

Using the ezxmlexport extension, the default XML file that is generated before any transformations are applied doesn't include any image wrapped in a link.

For example, a content-object uses this eZ XML text:

 <link target="_blank" node_id="5835"><embed size="standard" 
view="embed" align="right" object_id="5889" custom:offset="0" 
custom:limit="5"/></link>

But after exporting this using ezxmlexport, viewing the raw XML that it produces, the <embed> element is removed and not converted, but the <link> element is converted to <a> as I expect.

I've looked all the way up to ez's ezXMLSchema and eZXMLInputParser and I'm not sure if becuase it's written as a self-closing tag (<embed/>) and has no closing tag, it's not being recognised or what.

Does anyone have any pointers at all?

Cheers
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

Russell Michell

Thursday 29 April 2010 2:00:39 pm

So I must've made a mistake - ezxmlexport does export the <img> element but it's the data_import extension that parses this XML that's importing everything else, but is rippin gout the <img/> tag from between <a> tags.

If anyone knows a little about ezxmltext in general, how eZ handles it etc, I'd be interested to hear from you as I'm struggling a little going up as far as eZSimplifiedXMLInputParser and eZXMLInputParser.

Cheers,
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.