You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ael <al...@dash.com.ph> on 2011/06/15 09:39:19 UTC

T5 SAXParseException &tStyle

Hi

i want to add this in the header but tapestry wont allow.



Any work arounds :)

Error:

An unexpected application exception has occurred.
org.apache.tapestry5.ioc.internal.OperationException
Failure parsing template classpath:com/dash/t5wdb/pages/Index.tml: The
reference to entity "tStyle" must end with the ';' delimiter.
location
classpath:com/dash/t5wdb/pages/Index.tml, line 6459 <div class="boxW"> 
60 <div style='width: 300px; height: 250px; background-image: url(  
61
http://vortex.accuweather.com/adcbin/netweather_v2/backgrounds/blue_300x250_bg.jpg
); background-repeat: no-repeat;  
62 background-color: #346797;' > 
63 <div id='NetweatherContainer' style='height: 238px;' > 
64  
65 </div> 
66  
67 </div> 
68 </div>  
69 </div> 

trace
Constructing instance of page class com.dash.t5wdb.pages.Index
Creating ComponentAssembler for com.dash.t5wdb.pages.Index
Parsing component template classpath:com/dash/t5wdb/pages/Index.tml
org.xml.sax.SAXParseException
The reference to entity "tStyle" must end with the ';' delimiter.


--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4490409.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5 SAXParseException &tStyle

Posted by ael <al...@dash.com.ph>.
Its working now..

Thank you very much...

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493113.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5 SAXParseException &tStyle

Posted by ael <al...@dash.com.ph>.
Therefore i need to change there generated script.

Thank i will try...

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493059.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5 SAXParseException &tStyle

Posted by Josh Canfield <jo...@gmail.com>.
Have you tried replacing your & with &amp; as Thiago suggested?

Show is the section of code that is failing "tStyle" doesn't appear to
be anywhere in the snippet from above.

LInks to a signup page aren't helpful, the actual html that you're
trying to put in your template would be.

Josh

On Wed, Jun 15, 2011 at 4:27 PM, ael <al...@dash.com.ph> wrote:
> Hi Thiago,
>
> I want to add some weather forecast on my web generated by accuweather. But
> it is compose of & which is tapestry wont allow.
>
> http://netweather.accuweather.com/signup-page1.asp?
> http://netweather.accuweather.com/signup-page1.asp?
>
> So how will i do a workaround for this?
>
> Any idea?
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493007.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


Re: T5 SAXParseException &tStyle

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 15 Jun 2011 20:27:57 -0300, ael <al...@dash.com.ph> wrote:

> Hi Thiago,

Hi!

> I want to add some weather forecast on my web generated by accuweather.  
> But it is compose of & which is tapestry wont allow.
> http://netweather.accuweather.com/signup-page1.asp?
> http://netweather.accuweather.com/signup-page1.asp?

I guess the URLs were messed up by your e-mail client.

> So how will i do a workaround for this?

Use &amp; instead of &.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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


Re: T5 SAXParseException &tStyle

Posted by ael <al...@dash.com.ph>.
Hi Thiago,

I want to add some weather forecast on my web generated by accuweather. But
it is compose of & which is tapestry wont allow.

http://netweather.accuweather.com/signup-page1.asp?
http://netweather.accuweather.com/signup-page1.asp? 

So how will i do a workaround for this?

Any idea?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493007.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5 SAXParseException &tStyle

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 15 Jun 2011 04:39:19 -0300, ael <al...@dash.com.ph> wrote:

> Hi

Hi!

> i want to add this in the header but tapestry wont allow.

> Failure parsing template classpath:com/dash/t5wdb/pages/Index.tml: The
> reference to entity "tStyle" must end with the ';' delimiter.

It seems you used an & inside an attribute, something that is forbidden by  
XML. You should use &amp; instead What exactly is in the line 6459 of  
Index.tml?

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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