Currently Being Moderated
Apr 9, 2008 2:53 PM
Guys
I´ve got "An unexpected exception was encountered: There is an error in XML document" when execute the "Quick Start: Decoding barcoded form data using the web service API" (http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/ww help/wwhimpl/js/html/wwhelp.htm). Curiously the "Quick Start: Decoding barcoded form data using the Java API" (http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/ww help/wwhimpl/js/html/wwhelp.htm) run succesfull. Of course I am using the same LiveCycle instalation and the same pdf.
The exception is fired into extractToXML method of BarcodedFormsServiceService class. See a some lines of the code:
//Decode form data
XML decodedFormData = barcodedFormsClient.decode(inPDFForm,
true,
false,
false,
false,
false,
false,
false,
false,
CharSet.UTF_8);
//Convert the data to XDP data
object[] convertedData = barcodedFormsClient.extractToXML(decodedFormData,
Delimiter.Tab,
Delimiter.Tab,
XMLFormat.XDP);
Thanks
Marcelo