Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4094

"illegal" single-closed textarea tag fails on validation and rendering in wicket 1.4.17/18, and succeeds on rendering but not on validation in wicket 1.5.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.17, 1.4.18, 1.5.0
    • 1.5.0
    • wicket
    • 1.4.17/18 tested on windows with ie and chrome
      1.5.0 tested on mac and windows with chrome

    Description

      continued from http://markmail.org/message/2brq4umaytvswfuv

      supposedly a single closed textarea tag (<textarea.../>) is "illegal", and goes against the spec (igor) http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.4

      tested on wicket 1.4.17/18. the markup validation does not detect an illegal use of textarea, and renders it with both opening and closing tags, but the closing tag at the end of the markup, with all the remaining html (after the textarea) escaped and included inside textarea contents.

      tested on wicket 1.5.0. the markup validation does not detect an illegal use of textarea, and moreover it renders the textarea correctly, with its closing tag where corresponds, contrary to wicket 1.4.17/18 behavior.

      so from the point of view of validation, if a single closed textarea tag is an "illegal" condition, then both wicket 1.4.17/18 and 1.5.0 fail. but in rendering, wicket 1.5.0 works fine.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            manuelbarzi manuel barzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified