You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "bernard (JIRA)" <ji...@apache.org> on 2011/03/05 02:44:46 UTC
[jira] Updated: (WICKET-3507) Form Code causes Error in
ValidatorFilter
[ https://issues.apache.org/jira/browse/WICKET-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bernard updated WICKET-3507:
----------------------------
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">
was:
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">
> 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>
> 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">
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira