You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nhhockeyplayer nashua <nh...@hotmail.com> on 2014/03/08 15:40:49 UTC

character sequence UTF8 failure ?

Hi Folks,

Is this legal to do ?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html ....
....
...
<html>

I am having difficulty with this character sequence...

205					<a href="http://www.monsterenergy.com/">206						<img src="images/monster.jpg" image="images/monster.jpg" width="150" height="60" title="© 2013 MonsterEnergy"/>207					</a>	
page fails on the title 

Application Exception

Tapestry Version: 5.4-beta-2


Application Version: 1.0-SNAPSHOT-1394283867462
An exception has occurred processing this request.
Exception assembling root component of page Home: Failure parsing 
template classpath:org/tynamo/examples/pphl/components/Layout.tml: 
Invalid byte 1 of 1-byte UTF-8 sequence.
java.lang.RuntimeExceptionException
 assembling root component of page Home: Failure parsing template 
classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1
 of 1-byte UTF-8 sequence.
org.apache.tapestry5.ioc.internal.OperationExceptionFailure parsing template classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1 of 1-byte UTF-8 sequence.
locationclasspath:org/tynamo/examples/pphl/components/Layout.tml, line 206
 		 	   		  

Re: character sequence UTF8 failure ?

Posted by Cezary Biernacki <ce...@gmail.com>.
I think "Â" character is invalid. Check if your text editor is set up to
open this file in UTF-8.

Best regards,
Cezary
 On 8 Mar 2014 14:41, "nhhockeyplayer nashua" <nh...@hotmail.com>
wrote:

> Hi Folks,
>
> Is this legal to do ?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html ....
> ....
> ...
> <html>
>
> I am having difficulty with this character sequence...
>
> 205                                     <a href="
> http://www.monsterenergy.com/">206
>       <img src="images/monster.jpg" image="images/monster.jpg" width="150"
> height="60" title="© 2013 MonsterEnergy"/>207
>         </a>
> page fails on the title
>
> Application Exception
>
> Tapestry Version: 5.4-beta-2
>
>
> Application Version: 1.0-SNAPSHOT-1394283867462
> An exception has occurred processing this request.
> Exception assembling root component of page Home: Failure parsing
> template classpath:org/tynamo/examples/pphl/components/Layout.tml:
> Invalid byte 1 of 1-byte UTF-8 sequence.
> java.lang.RuntimeExceptionException
>  assembling root component of page Home: Failure parsing template
> classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1
>  of 1-byte UTF-8 sequence.
> org.apache.tapestry5.ioc.internal.OperationExceptionFailure parsing
> template classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid
> byte 1 of 1-byte UTF-8 sequence.
> locationclasspath:org/tynamo/examples/pphl/components/Layout.tml, line 206
>