Forums / Developer / Warning with ezxmlinputparser.php

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Warning with ezxmlinputparser.php

Author Message

Jérôme Vieilledent

Monday 09 June 2008 10:12:28 am

Hello,

I'm porting a big website form Exponential 3.9.4 to 4.0.0 and I've got a problem with my scripts I use to create content with eZXMLText attributes. The eZXMLInputParser parses my formatted text well but it generates warning like that :
<b>Undefined index: section in kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php on line 1120</b>

I've got this message for each eZXML tag (<line>, <paragraph>, <strong>, even "#text").

Here's my code :

$parser = new eZXMLInputParser();
$parser->setParseLineBreaks(true);
$document = $parser->process($xmlContent);
$xmlString = eZXMLTextType::domString($document);

Any idea ?