Add getMarkupSettings().setStripWicketTags(true); to your WebApplication class

-----Original Message-----
From: Kaspar Fischer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 5:25 AM
To: [email protected]
Subject: Strict XHTML validation


I am trying to validate my page using http://validator.w3.org/.
My page markup is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// 
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:wicket="http:// 
svn.apache.org/repos/asf/wicket/trunk/jdk-1.4/wicket/wicket-xhtml1- 
strict.dtd" xml:lang="en" lang="en">
     <head>
        <meta http-equiv="Content-Type" content="text/html;  
charset=utf-8" />
         <title>Wicket Quickstart Archetype Homepage</title>
     </head>
     <body>
        <p>
         <strong>Wicket Quickstart Archetype Homepage223</strong>
                        </p>
                        <p>
         <span wicket:id="message">message will be here</span>
       </p>
     </body>
</html>

The validator complains that "there is no attribute "wicket:id". I am
not sure where exactly the problem lies: does the second xmlns violate
the standard, is the validator incorrect, ...?

Any ideas how to resolve this? I see work in progress at

   https://issues.apache.org/jira/browse/WICKET-693

but the markup there is basically mine but I cannot get it to validate.
Thanks,
Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to