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

EzXmlText to RichText validation error : Element section has extra content on <literal> tag

    Details

      Description

      I try to use command ezxmltext:convert-to-richtext of the bundle EzPlatformXmlTextFieldTypeBundle.

      I have the following error with a lot of inputs return by the validator :
      Error in 0:0: Element section has extra content: para

      An example of input :

      <?xml version="1.0" encoding="utf-8"?>\n
      <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/">
      <paragraph>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</paragraph>
      <paragraph>(Nous fournir la source du flash SVP)</paragraph>
      <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
      <literal class="html">...</literal>
      </paragraph>
      </section>

      The xml output by the convert :

      <section
      xmlns="http://docbook.org/ns/docbook"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml"
      xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0">
      <para>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</para>
      <para>(Nous fournir la source du flash SVP)</para>
      ...
      </section>

      The following error can also appear :
      Error in 0:0: Element section has extra content: informaltable

      More examples that end up with informaltable and para errors can be found in the attached XML files.

      1. example1.xml
        4 kB
        Konrad Oboza
      2. example2.xml
        1 kB
        Konrad Oboza
      3. example3.xml
        20 kB
        Konrad Oboza

        Issue Links

          Activity

          Faïsse Valentin created issue -
          Vidar Langseid made changes -
          Field Original Value New Value
          Link This issue is blocked by EZP-29328 [ EZP-29328 ]
          Konrad Oboza made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Konrad Oboza made changes -
          Fix Version/s Customer request [ 11018 ]
          Konrad Oboza made changes -
          Affects Version/s 2.2.1 [ 14999 ]
          Konrad Oboza made changes -
          Description I try to use command ezxmltext:convert-to-richtext of the bundle EzPlatformXmlTextFieldTypeBundle.

          I have the following error with a lot of inputs return by the validator :
          Error in 0:0: Element section has extra content: para

          An example of input :
          {quote}
          <?xml version="1.0" encoding="utf-8"?>\n
          <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/">
          <paragraph>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</paragraph>
          <paragraph>(Nous fournir la source du flash SVP)</paragraph>
          <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
          <literal class="html">...</literal>
          </paragraph>
          </section>
          {quote}

          The xml output by the convert :
          {quote}
          <section
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml"
          xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0">
          <para>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</para>
          <para>(Nous fournir la source du flash SVP)</para>
          ...
          </section>
          {quote}

          The following error can also appear :
          Error in 0:0: Element section has extra content: informaltable
          I try to use command ezxmltext:convert-to-richtext of the bundle EzPlatformXmlTextFieldTypeBundle.

          I have the following error with a lot of inputs return by the validator :
          Error in 0:0: Element section has extra content: para

          An example of input :
          {quote}
          <?xml version="1.0" encoding="utf-8"?>\n
          <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/">
          <paragraph>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</paragraph>
          <paragraph>(Nous fournir la source du flash SVP)</paragraph>
          <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
          <literal class="html">...</literal>
          </paragraph>
          </section>
          {quote}

          The xml output by the convert :
          {quote}
          <section
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml"
          xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0">
          <para>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</para>
          <para>(Nous fournir la source du flash SVP)</para>
          ...
          </section>
          {quote}

          The following error can also appear :
          Error in 0:0: Element section has extra content: informaltable

          More examples with errors regarding informaltable and para in the attached XML files.
          Konrad Oboza made changes -
          Attachment example1.xml [ 31177 ]
          Attachment example2.xml [ 31178 ]
          Attachment example3.xml [ 31179 ]
          Konrad Oboza made changes -
          Description I try to use command ezxmltext:convert-to-richtext of the bundle EzPlatformXmlTextFieldTypeBundle.

          I have the following error with a lot of inputs return by the validator :
          Error in 0:0: Element section has extra content: para

          An example of input :
          {quote}
          <?xml version="1.0" encoding="utf-8"?>\n
          <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/">
          <paragraph>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</paragraph>
          <paragraph>(Nous fournir la source du flash SVP)</paragraph>
          <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
          <literal class="html">...</literal>
          </paragraph>
          </section>
          {quote}

          The xml output by the convert :
          {quote}
          <section
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml"
          xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0">
          <para>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</para>
          <para>(Nous fournir la source du flash SVP)</para>
          ...
          </section>
          {quote}

          The following error can also appear :
          Error in 0:0: Element section has extra content: informaltable

          More examples with errors regarding informaltable and para in the attached XML files.
          I try to use command ezxmltext:convert-to-richtext of the bundle EzPlatformXmlTextFieldTypeBundle.

          I have the following error with a lot of inputs return by the validator :
          Error in 0:0: Element section has extra content: para

          An example of input :
          {quote}
          <?xml version="1.0" encoding="utf-8"?>\n
          <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/">
          <paragraph>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</paragraph>
          <paragraph>(Nous fournir la source du flash SVP)</paragraph>
          <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
          <literal class="html">...</literal>
          </paragraph>
          </section>
          {quote}

          The xml output by the convert :
          {quote}
          <section
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml"
          xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0">
          <para>Consultez la carte ci dessous pour les informations trafic autoroutier en temps réel.</para>
          <para>(Nous fournir la source du flash SVP)</para>
          ...
          </section>
          {quote}

          The following error can also appear :
          Error in 0:0: Element section has extra content: informaltable

          More examples that end up with informaltable and para errors can be found in the attached XML files.
          Konrad Oboza made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Konrad Oboza made changes -
          Link This issue relates to CS-6884 [ CS-6884 ]
          André Rømcke made changes -
          Summary EzXmlText to RichText validation error : Element section has extra content EzXmlText to RichText validation error : Element section has extra content on <literal> tag
          André Rømcke made changes -
          Assignee Vidar Langseid [ vidar.langseid@ez.no ]
          André Rømcke made changes -
          Assignee Vidar Langseid [ vidar.langseid@ez.no ]
          Status InputQ [ 10001 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Faïsse Valentin
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: