Form Code causes Error in ValidatorFilter
-----------------------------------------

                 Key: WICKET-3507
                 URL: https://issues.apache.org/jira/browse/WICKET-3507
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.4.16
            Reporter: bernard


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>

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">


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to