Page 1 of 1

How toation Read XML file as single string

Posted: Fri Apr 03, 2015 4:19 pm
by jagan
Hi Team,

I want to read attached XML file from one location and write same xml file into another location.

For that i am using Universal Data reader-> Meta data -> Universal Data writer

But universal data writer is giving below error, does any one help on this.

Component [UniversalDataReader:UNIVERSAL_DATA_READER] finished with status ERROR. (Out0: 488 recs)
Parsing error: Unexpected end of file in record 489, field 1 ("XMLString"), metadata "recordName1"; value: 'SimpleDataParser does not provide raw record.'

Thanks in Advance.

Thanks,
Jagan.

Re: How toation Read XML file as single string

Posted: Thu Apr 09, 2015 11:07 am
by imriskal
Hi Jagan,

You should read the whole file in one big field instead of trying to read it line by line. Just delete delimiters in your metadata, set the field to byte type and set "EOF as delimiter" to true. PFA your modified graph.

PayrollFileMove_modified.grf
(1.46 KiB) Downloaded 292 times