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

Wicket fails parsing conditional comments surrounding the <html> tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5-RC4
    • None
    • wicket
    • None
    • Win32, JDK 1.6.0_24

    Description

      When you use conditional comments on the <html> tag, like:

      <!-[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]->
      <!-[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]->
      <!-[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]->
      <Unable to render embedded object: File (--[if (gte IE 9)) not found.(IE)]><!-> <html class="no-js" lang="en"> <!<![endif]->

      which is valid (x)html code, you'll get:

      Unexpected RuntimeException

      Last cause: Tag does not have a close tag

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              clerch Christian Lerch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: