Details

      Description

      Refer to the ezxml.xsd, available here: https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/FieldType/XmlText/Input/Resources/schemas/ezxml.xsd

      Currently there are two invalid behaviors:

      • Headings are not allowed under li elements
      • Headings are allowed under paragraph elements

        Activity

        Hide
        Patrick Allaert (Inactive) added a comment -

        Headings are not allowed under li elements

        They are, but indirectly:

        <section>
        <header>test</header>
        <paragraph>
        <ul>
        <li><paragraph><header>The header</header></paragraph></li>
        </ul>
        </paragraph>
        </section>

        Headings are allowed under paragraph elements

        The XSD has been created based on the observation of many ezxmltext attributes from various sources and it has never been encountered that those two "invalid" rules would cause problem.
        Note that the XML structure of ezxmltext attributes is not a direct/perfect match of (X)HTML structure. Based on that, what real issues does these differences causes?

        I'm afraid that removing headings that are under paragraph elements would cause many existing content to become invalid.

        Note that changes to the XSD may be critical.

        Show
        Patrick Allaert (Inactive) added a comment - Headings are not allowed under li elements They are, but indirectly: < section > < header >test</ header > < paragraph > < ul > < li >< paragraph >< header >The header</ header ></ paragraph ></ li > </ ul > </ paragraph > </ section > Headings are allowed under paragraph elements The XSD has been created based on the observation of many ezxmltext attributes from various sources and it has never been encountered that those two "invalid" rules would cause problem. Note that the XML structure of ezxmltext attributes is not a direct/perfect match of (X)HTML structure. Based on that, what real issues does these differences causes? I'm afraid that removing headings that are under paragraph elements would cause many existing content to become invalid. Note that changes to the XSD may be critical.
        Hide
        Patrick Allaert (Inactive) added a comment -

        Closed as this is actually not an issue.

        Show
        Patrick Allaert (Inactive) added a comment - Closed as this is actually not an issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Filipe Dobreira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Time Spent - 3 hours, 5 minutes Remaining Estimate - 2 hours, 30 minutes
              2h 30m
              Logged:
              Time Spent - 3 hours, 5 minutes Remaining Estimate - 2 hours, 30 minutes
              3h 5m