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

Form Code causes Error in ValidatorFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.16
    • 1.4.17
    • wicket
    • None

    Description

      I am using https://github.com/dashorst/wicket-stuff-markup-validator
      as recommended at http://wicketinaction.com/2009/06/wicket-html-validator-12/

      Works fine with 1.4.15. In 1.4.16 I am getting an error with form code as follows:

      XHTML errors - toggle display - close

      • Line 43 Error: (43, 313) Attribute value "signInPanel:signInForm_hf_0" of type ID must be an NCName when namespaces are enabled.
        <form action="login/wicket:interface/:1:signInPanel:signInForm::IFormSubmitListener::" id="signInForm1" method="post"><div style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input type="hidden" name="signInPanel:signInForm_hf_0" id="signInPanel:signInForm_hf_0" /></div>

      1.4.15: name="id1_hf_0" id="id1_hf_0"
      1.4.16: name="signInPanel:signInForm_hf_0" id="signInPanel:signInForm_hf_0"

      I wonder what the new recommended method is for compatibility.

      I am using

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:wicket="http://wicket.apache.org/"
      xml:lang="en"
      lang="en">

      Attachments

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              bht@actrix.gen.nz bernard
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: