[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.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|