Wicket
  1. Wicket
  2. WICKET-1139

Wicket html files do not have xml prolog

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Issue Links

          Activity

          Igor Vaynberg made changes -
          Link This issue relates to WICKET-1224 [ WICKET-1224 ]
          Juergen Donnerstag made changes -
          Resolution Fixed [ 1 ]
          Assignee Juergen Donnerstag [ jdonnerstag ]
          Status Open [ 1 ] Resolved [ 5 ]
          Johan Compagner made changes -
          Field Original Value New Value
          Fix Version/s 1.3.0-rc2 [ 12312513 ]
          Marat Radchenko created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development