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

data-wicket-placeholder is invalid XHTML

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.1.0
    • Fix Version/s: 8.2.0, 9.0.0-M1
    • Component/s: wicket-core
    • Labels:
      None

      Description

      Because of WICKET-6575, Wicket now sometimes adds a data-wicket-placeholder attribute. However, when you serve your pages with MIME-type application/xhtml+xml, the browser expects valid XML. The data-wicket-placeholder attribute results in a browser parse error, because it does not have a value. This makes 8.1.0 currently unusable to us, since we serve pure XHTML. I suggest giving the attribute an empty value: data-wicket-placeholder="" or a dummy value: data-wicket-placeholder="true".

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              gertjan_schouten Gert-Jan Schouten
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: