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

Wicket html files do not have xml prolog

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta4
    • Fix Version/s: 1.3.0-rc2
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      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

              • Assignee:
                jdonnerstag Juergen Donnerstag
                Reporter:
                slonopotamus Marat Radchenko
              • Votes:
                2 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: