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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--