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

XSLTProcessor::transformToXml(): ID eztoc_1_1 already defined

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Pollux
    • 5.4.0, 5.4.1, 5.4.2
    • Field types
    • None
    • ezpublish 5.4.1 with demo contents.
      PHP 5.5 library :
      php55-xmlrpc @5.5.20_0
      libxml @1.8.17_0
      libxml2 @2.9.2_1
      php55-xsl @5.5.20_0

    Description

      When trying to display a xmlText, i raise an error :
      Warning: XSLTProcessor::transformToXml(): ID eztoc_1_1 already defined in /Users/huckflorent/Sites/Formation/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/XmlText/Converter/Html5.php on line 179

      This error seems to be caused by anchors that are automatically inserted for Headers in https://github.com/ezsystems/ezpublish-kernel/commit/b929dbac7ee761d8f879c4650b5f6e4132cde252#diff-cdec4f8be219db81aca0b66cfe8824ecR30

      When commenting this line, errors disappeared...

      I wondering if it comes from my xml and xsl PHP library ?
      cf. http://stackoverflow.com/questions/25893393/xsltprocessortransformtoxml-id-already-defined

      Attachments

        Activity

          People

            Unassigned Unassigned
            Florent.Huck-obsolete@ez.no Florent Huck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: