Hi Henry,

Here this is my xml file 

 

Thanks ,

Sagara 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<Persons>

      <Person>

            <First>Robert</First>

            <Title>Mr.</Title>

            <Last>Tylor</Last>

            <Phone>1111</Phone>

            <Email>[EMAIL PROTECTED]</Email>

      </Person>

      <Person>

            <First>Mark</First>

            <Title>Mr.</Title>

            <Last>Wilson</Last>

            <Phone>1111</Phone>

            <Email>[EMAIL PROTECTED]</Email>

      </Person>

</Persons>

 

 

 

  _____  

From: Henry Zongaro [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 06, 2007 4:46 PM
To: sagara
Cc: xalan-j-users@xml.apache.org
Subject: Re: Exception when loading translet within a JSP

 


Hi, Sagara. 

"sagara" <[EMAIL PROTECTED]> wrote on 2007-11-06 03:07:30 AM:
> I try to use translets within a web application. My environment is 
> tomcat 5.5 and jdk 1.5, I wrote a small JSP page and try to load 
> compiled translet class in to an input source and execute the 
> transformation. Then I got following error message. 
>   
> (Location of error unknown) org.apache.xerces.impl.io.
> MalformedByteSequenceException : Invalid byte 2 of 2-byte UTF-8 sequence. 

That error message is reporting a problem in the encoding of an XML document
- probably your person.xml document.  Can you show us that document? 

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 313-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED] 

Reply via email to