Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22403

ez_render_field of an empty xml-block renders an xml-output instead of an empty string

    XMLWordPrintable

Details

    Description

      If an empty xml-block is rendered via ez_render_field, the raw markup is:
      <div class="ezxmltext-field"><?xml version="1.0" encoding="utf-8"?><section xmlns:image="http://ez.no/namespaces/ezpublish3/image/" xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/" xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/"/></div>
      If the xml-block is not empty, the xml-node is not in the raw output.

      Attachments

        Activity

          People

            Unassigned Unassigned
            short-cut short-cut
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: