[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Invalid byte 2 of 3-byte UTF-8 sequence.

Subject: Invalid byte 2 of 3-byte UTF-8 sequence.
From: <igutierrez027@xxxxxxxxxxxxx>
Date: Tue, 18 Mar 2008 13:50:54 +0100 (CET)
 Invalid byte 2 of 3-byte UTF-8 sequence.
Hello everybody!

I am using JAXP to execute one file XML with one file XSL. This is the
JXAP program:

Transformer transformer;
TransformerFactory factory = new net.sf.saxon.TransformerFactoryImpl();
String stylesheet
= "file:///C:/Users/Izaskun/Desktop/workspace3/template27.xsl";

String sourceId
= "file:///C:/Users/Izaskun/Desktop/workspace3/file.xml";

try {

transformer = factory.newTransformer(new StreamSource(stylesheet));
transformer.transform(new StreamSource(sourceId), new StreamResult
(System.out));
		} catch (Exception e) {
		    // handle error
		}

	}

It gives me this error:

Error

com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExceptio
n: Invalid byte 2
  of 3-byte UTF-8 sequence.

somebody could help me?


Regards,

Izaskun

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.