You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MZ...@osc.state.ny.us on 2010/02/22 22:24:28 UTC

Wicket Stuff Html Validator

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.

Re: Wicket Stuff Html Validator

Posted by Martijn Dashorst <ma...@gmail.com>.
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,  <MZ...@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 <ma...@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
> <ma...@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,  <MZ...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Stuff Html Validator

Posted by MZ...@osc.state.ny.us.
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 <ma...@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
<ma...@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,  <MZ...@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@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.

Re: Wicket Stuff Html Validator

Posted by Martijn Dashorst <ma...@gmail.com>.
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
<ma...@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,  <MZ...@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Stuff Html Validator

Posted by Martijn Dashorst <ma...@gmail.com>.
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,  <MZ...@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org