You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Gregg D Bolinger <gt...@gmail.com> on 2005/02/26 04:33:26 UTC
Wrong root element
Sorry if this has been asked before. I tried searching the archives
but jakarta's mailing list search never works.
I am createing a header for my app and in my Header.jwc I have typed:
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<component-specification allow-body="yes" allow-informal-parameters="no">
<context-asset name="stylesheet" path="styles/styles.css"/>
</component-specification>
I am using IDEA and it is telling me wrong root element on the opening
component-specification tag. Is IDEA wrong or is my code wrong?
Thanks.
Gregg
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Wrong root element
Posted by Gregg D Bolinger <gt...@gmail.com>.
Crap! Thanks. I'll hide in shame now.
Gregg
On Fri, 25 Feb 2005 23:22:27 -0500, Geoff Longman <gl...@gmail.com> wrote:
> On Fri, 25 Feb 2005 21:33:26 -0600, Gregg D Bolinger <gt...@gmail.com> wrote:
> > Sorry if this has been asked before. I tried searching the archives
> > but jakarta's mailing list search never works.
> >
> > I am createing a header for my app and in my Header.jwc I have typed:
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE page-specification PUBLIC
>
> The tool is expecting the root to be page-specification 'cuz of the
> above line. Change it to read component-specification and you will be
> laughing. This often happens when cutting and pasting!
>
> Geoff
>
> > "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> >
> > <component-specification allow-body="yes" allow-informal-parameters="no">
> > <context-asset name="stylesheet" path="styles/styles.css"/>
> > </component-specification>
> >
> > I am using IDEA and it is telling me wrong root element on the opening
> > component-specification tag. Is IDEA wrong or is my code wrong?
> >
> > Thanks.
> >
> > Gregg
> >
> > ---------------------------------------------------------------------
> > 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
Re: Wrong root element
Posted by Geoff Longman <gl...@gmail.com>.
On Fri, 25 Feb 2005 21:33:26 -0600, Gregg D Bolinger <gt...@gmail.com> wrote:
> Sorry if this has been asked before. I tried searching the archives
> but jakarta's mailing list search never works.
>
> I am createing a header for my app and in my Header.jwc I have typed:
>
> <?xml version="1.0"?>
> <!DOCTYPE page-specification PUBLIC
The tool is expecting the root to be page-specification 'cuz of the
above line. Change it to read component-specification and you will be
laughing. This often happens when cutting and pasting!
Geoff
> "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
>
> <component-specification allow-body="yes" allow-informal-parameters="no">
> <context-asset name="stylesheet" path="styles/styles.css"/>
> </component-specification>
>
> I am using IDEA and it is telling me wrong root element on the opening
> component-specification tag. Is IDEA wrong or is my code wrong?
>
> Thanks.
>
> Gregg
>
> ---------------------------------------------------------------------
> 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