You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Dear <ad...@ecimarron.com> on 2006/02/08 23:27:40 UTC
Help with .page DTD
Hello all,
I am very very new to Tapestry. I am trying to learn how to use it. I
am having a problem getting even basic applications running. I am
currently going through a book on tapestry.
Whenever I run my app, an exception is being thrown regarding the DTD in
Home.page
Here is the contents of my Home.page file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification class="com.tapestry.helloworld.Home">
<component id="subject" type="insert">
<binding name="value" value="ognl:greetingSubject"/>
</component>
</page-specification>
And the exception being thrown is:
org.apache.tapestry.util.xml.DocumentParseException
Error at (5, 58: Document context:/WEB-INF/Home.page has an unexpected
public id of '-//Apache Software Foundation//Tapestry Specification
4.0//EN'.
Can someone please interpret this for me and tell me what little thing I
am missing. I have copied and pasted the DTD straight from the Tapestry
Docs, and am still getting this error.
Many thanks for the help
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Help with .page DTD
Posted by Mat Gessel <ma...@gmail.com>.
Are you using Tap 3 libraries with a Tap 4 DTD?
Also, check out this book:
http://www.agileskills2.org/EWDT/
It got me up and going pretty quick in Tap 4. The information is
better tailored for the new user than the site docs.
=- Mat
On 2/8/06, Adam Dear <ad...@ecimarron.com> wrote:
>
> Hello all,
> I am very very new to Tapestry. I am trying to learn how to use it. I
> am having a problem getting even basic applications running. I am
> currently going through a book on tapestry.
>
> Whenever I run my app, an exception is being thrown regarding the DTD in
> Home.page
>
> Here is the contents of my Home.page file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE page-specification PUBLIC
> "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
> <page-specification class="com.tapestry.helloworld.Home">
> <component id="subject" type="insert">
> <binding name="value" value="ognl:greetingSubject"/>
> </component>
> </page-specification>
>
> And the exception being thrown is:
>
> org.apache.tapestry.util.xml.DocumentParseException
>
> Error at (5, 58: Document context:/WEB-INF/Home.page has an unexpected
> public id of '-//Apache Software Foundation//Tapestry Specification
> 4.0//EN'.
>
> Can someone please interpret this for me and tell me what little thing I
> am missing. I have copied and pasted the DTD straight from the Tapestry
> Docs, and am still getting this error.
>
> Many thanks for the help
>
> Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org