IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

XSLT Transforamtion - UTFDataFormatException encoded string too long Options · View
bp0
Posted: Thursday, February 12, 2015 3:56:49 PM
Rank: Newbie

Joined: 2/12/2015
Posts: 1
Hello,
I'm currently evaluating the RaptorXML java api to apply a XSLT transformation but I'm getting the exception shown below.
The input file contents is about 300 KB and I'm using the setInputXMLFromText(String xmlText) method.
When I use the setInputXMLFileName(String xmlFile) everything is fine but I need to transform an xml that is not yet written to the disk as a file.


HTTP server error: unexpected response from server
com.altova.raptorxml.HTTPServerException: HTTP server error: unexpected response from server
at com.altova.raptorxml.HTTPResponseParser.sendRequestAndGetResult(Unknown Source)
at com.altova.raptorxml.HTTPXSLT.runJobInternal(Unknown Source)
at com.altova.raptorxml.AbstractXSLT.runJobInternal(Unknown Source)
at com.altova.raptorxml.AbstractXSLT.execute(Unknown Source)
...
Caused by: java.io.UTFDataFormatException: encoded string too long: 310075 bytes
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:364)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
at com.altova.raptorxml.HTTPConnection.getReadableConnection(Unknown Source)
at com.altova.raptorxml.HTTPConnection.readServerData(Unknown Source)
at com.altova.raptorxml.HTTPConnection.postJson(Unknown Source)
... 7 more


The server version I'm using is Altova RaptorXML Server 2015 sp2 (x64).

vlad
Posted: Thursday, February 12, 2015 4:49:03 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
You should contact Altova Support with this - don't think that anybody in this User Forum can help
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.