Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Problem with Encoding in tXSLT?

Highlighted
One Star

Problem with Encoding in tXSLT?

Hi,
I've got the following error from an XSLT transformation:
Error
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2
of 2-byte UTF-8 sequence.
Exception in component tXSLT_2
net.sf.saxon.trans.XPathException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:424)
at net.sf.saxon.event.Sender.send(Sender.java:214)
at net.sf.saxon.event.Sender.send(Sender.java:50)
at net.sf.saxon.Controller.transform(Controller.java:1611)
at etl.exportcmsxslt_0_1.exportCmsXslt.tFileList_1Process(exportCmsXslt.java:455)
at etl.exportcmsxslt_0_1.exportCmsXslt.tJava_1Process(exportCmsXslt.java:274)
at etl.exportcmsxslt_0_1.exportCmsXslt.runJobInTOS(exportCmsXslt.java:863)
at etl.exportcmsxslt_0_1.exportCmsXslt.runJob(exportCmsXslt.java:784)
at etl.exportcms_0_1.exportCms.tRunJob_5Process(exportCms.java:737)
at etl.exportcms_0_1.exportCms.tRunJob_4Process(exportCms.java:684)
at etl.exportcms_0_1.exportCms.tRunJob_3Process(exportCms.java:590)
at etl.exportcms_0_1.exportCms.tRunJob_1Process(exportCms.java:486)
at etl.exportcms_0_1.exportCms.tFileList_1Process(exportCms.java:360)
at etl.exportcms_0_1.exportCms.runJobInTOS(exportCms.java:897)
at etl.exportcms_0_1.exportCms.main(exportCms.java:814)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.

I guess it comes from:
„Hier haben wir aktuell ein Problem“

in another editor:
„Hier haben wir aktuell ein Problem“

How can I overcome this issue?
Thank you in advance.
Bye, Chris
Highlighted
One Star

Re: Problem with Encoding in tXSLT?

Hi Chris,
I have the samer error here after I updated from my old 5.4 version to 6.2.
Did you find what causes the error?
I didn't change my jobs when I imported them into the new talend-version and before everything worked fine.
Thanks
Mel

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog