Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2740

Support for XHTML 1.1 and XHTML 2.0 etc.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.8
    • 1.4.0
    • Tag Libraries
    • None
    • Operating System: All
      Platform: All
    • 38345

    Description

      Using <html:html xhtml="true"> or <html:html lang="false" xhtml="true"> results
      in <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
      being generated. The attribute lang="en-US" is not legal with XHTML 1.1. The
      tag is ignoring the fact that lang="false" This is because in the if statement
      that checks for this.lang || this.local the condition this.xhtml has been added.

      The bug is also in the latest version of HTMLTag.java in the repository.

      Attachments

        Issue Links

          Activity

            People

              pbenedict Paul Benedict
              bruce_link@bcit.ca Bruce Link
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: