Hi, I am using the very convenient 'Web Developer' extension for FireFox (http://chrispederick.com/work/webdeveloper/). It has a feature which accesses the html validator from W3C. Using this check gives an unexpected error:
-----------------------8<------------------------------ Content-Type: text/html Encoding: utf-8 Doctype: XHTML 1.0 Strict Root Namespace: http://www.w3.org/1999/xhtml Other Namespaces http://wicket.sourceforge.net/ 1. Error Line 6 column 14: there is no attribute "xmlns:wicket". xmlns:wicket="http://wicket.sourceforge.net/" You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. -----------------------8<------------------------------ As you can see the wicket namespace *is* recognised. Here are the first lines of the html file: -----------------------8<------------------------------ <?xml version="1.0" encoding="UTF-8" ?> <!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://wicket.sourceforge.net/" xml:lang="nl_NL" lang="nl_NL"> -----------------------8<------------------------------ Any ideas on why this fails? Is this related to the recommendation of http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas recommends to use the transitional dtd? And why is this dtd recommend anyway? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user