Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-337

Cannot Edit Pages in Internet Explorer due to Invalid Script Tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1 Final
    • None
    • samples
    • None
    • Resin or Tomcat, Internet Explorer. Works in Mozilla Firefox.

    Description

      The DTD for XHTML requires that script tags have a closing tag:

      <script src="test.js" />

      is illegal, even if the body content is empty. It must be written as:

      <script src="test.js"></script>

      For more information, see Appendix C.3 in the w3 XHTML guidelines for element minimization:

      http://www.w3.org/TR/xhtml1/#guidelines

      JSP 2.0 is automatically shortening the script tag, even if it is written as <script></script>, because the body of the script is empty. This causes Internet Explorer to display a blank page.

      To fix, place an empty <jsp:text></jsp:text> tag in between the script elements.

      Patch enclosed.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              barik Titus Barik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD