Feedback
Did this article resolve your question/issue?

   

Article

XML Converter Exception: Unexpected EOF prolog when XML stream is passed to the XML Converter

Information

 
TitleXML Converter Exception: Unexpected EOF prolog when XML stream is passed to the XML Converter
URL NameXML-Converter-Exception-Unexpected-EOF-prolog-when-XML-stream-is-passed-to-the-XML-Converter
Article Number000184312
EnvironmentProduct: XML Converters
Version: 5.0
OS: Java
Database: N/A
Application: N/A
Question/Problem Description
When attempting to convert  from XML to X12 an XML Converter Exception occurs.  
Steps to Reproduce
Clarifying Information
Error Messagecom.ddtek.xmlconverter.exception.ConverterException: Error during conversion: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.ddtek.xmlconverter.exception.ConverterException.WrapAsConverterException(ConverterException.java:117)
at com.ddtek.xmlconverter.platform.XMLStreamReader2XHandler.next(XMLStreamReader2XHandler.java:174)
at com.ddtek.xmlconverter.platform.XMLStreamReader2XHandler.runToEnd(XMLStreamReader2XHandler.java:91)
at com.ddtek.xmlconverter.impl.Job.runConversionNow(Job.java:292)
at com.ddtek.xmlconverter.impl.Job.RunFromXml(Job.java:271)
at com.ddtek.xmlconverter.impl.Job.<init>(Job.java:111)
at com.ddtek.xmlconverter.impl.ConverterImpl.convert(ConverterImpl.java:202)
at com.ddtek.xmlconverter.impl.ConverterImpl.convert(ConverterImpl.java:149)
at CustomXSLT_JAVA.transformationXSLT(CustomXSLT_JAVA.java:177)
at CustomXSLT_JAVA.main(CustomXSLT_JAVA.java:124
Defect Number
Enhancement Number
Cause
The input xml stream was being passed to the XML Converter instead of the output of the Input stream.
Resolution
Be sure the stream direction is correct.
Workaround
Notes
Last Modified Date3/15/2016 9:06 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.