Monday 24 October 2005 12:53:16 pm
I just had very similar problem with my xml import script, the output after import looked like
xmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' ><paragraph><p>Some content here.</p></paragraph></sxmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' >
Strangely enough that import code worked ok right up to version 3.6.0, the problem appeared in 3.6.2 The solution was a wild guess: in the beginning of text2xml code there is a section tag added around html data thus:
$inputData = "<section xmlns:image='http://ez.no/namespaces/ezpublish3/image/'
xmlns:xhtml='http://ez.no/namespaces/ezpublish3/xhtml/' >";
The error will disappear if the tag is written on one line, without linebreak in it.
Certified eZ developer looking for projects.
zurgutt at gg.ee
|