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

Wicket html files do not have xml prolog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta4
    • 1.3.0-rc2
    • wicket
    • None
    • n/a

    Description

      We want to enforce all our pages to explicitly specify xml prolog in order to avoid troubles with encodings (unfortunately we are not ASCII-speaking). We want to do that by specifying invalid defaultMarkupEncoding. This way we will get exceptions for all htmls that didn't declare encoding. However it is not possible at the moment because many wicket built-in html files do not have xml prolog.

      Fix is very simple: just add <?xml version="1.0" encoding="UTF-8" ?> to your html files.

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              slonopotamus Marat Radchenko
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: