I am unable to reproduce it. I've downloaded the jar from the wicketstuff repo and put it in a quickstart and added it as a jar dependency. I then modified the homepage to look like this:
<!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/dtds.data/wicket-xhtml1.4-strict.dtd"> <head> <title>Wicket Quickstart Archetype Homepage</title> </head> <body> <strong> <h1>afsdf</h1> Wicket Quickstart Archetype Homepage</strong> <span wicket:id="message">message will be here</span> </body> </html> and the html validator works as expected. Perhaps you could try and download the jar again. Martijn Martijn On Tue, Feb 23, 2010 at 5:53 PM, <mzem...@osc.state.ny.us> wrote: > I downloaded the jar from wicketstuff repo... > > Here is the DTD; > <!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"> > > > > > Martijn Dashorst <martijn.dasho...@gmail.com> > 02/23/2010 05:16 AM > Please respond to > users@wicket.apache.org > > > To > users@wicket.apache.org > cc > > Subject > Re: Wicket Stuff Html Validator > > > > > > > Another possibility is that you use a DTD that is not available (xhtml > 2.0?) > > Martijn > > On Tue, Feb 23, 2010 at 9:08 AM, Martijn Dashorst > <martijn.dasho...@gmail.com> wrote: >> Strange, at our company the thing works. Did you build the jar >> yourself? Or did you download it from the wicketstuff repo? >> >> Martijn >> >> On Mon, Feb 22, 2010 at 10:24 PM, <mzem...@osc.state.ny.us> wrote: >>> I've added htmlvalidator-1.3.1.jar to my classpath, and the appropriate >>> code in the application's init method (see link below). I get the >>> following error when running the app; >>> >>> java.io.FileNotFoundException: Could not find dtds folder null >>> >>> http://wicketinaction.com/2009/06/wicket-html-validator-12/ >>> >>> >>> >>> Notice: This communication, including any attachments, is intended > solely >>> for the use of the individual or entity to which it is addressed. This >>> communication may contain information that is protected from disclosure >>> under State and/or Federal law. Please notify the sender immediately if >>> you have received this communication in error and delete this email > from >>> your system. If you are not the intended recipient, you are requested > not >>> to disclose, copy, distribute or take any action in reliance on the >>> contents of this information. >> >> >> >> -- >> Become a Wicket expert, learn from the best: http://wicketinaction.com >> Apache Wicket 1.4 increases type safety for web applications >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > Notice: This communication, including any attachments, is intended solely > for the use of the individual or entity to which it is addressed. This > communication may contain information that is protected from disclosure > under State and/or Federal law. Please notify the sender immediately if > you have received this communication in error and delete this email from > your system. If you are not the intended recipient, you are requested not > to disclose, copy, distribute or take any action in reliance on the > contents of this information. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org