EDIReceive Pipeline split 820 file, produce invalid xml output

I am using  BizTalk 2013.   X12_00501_820 schema comes from biztalk in-box schema with a tiny little change to add annotations such as subdocument_creation_break="yes" to enable spliting.

For my testing, I applied subdocument_creation_break in loop 2000A and 2000B

The biztalk do consume the 820 file and split the file. the problem is the file it split is not a valid xml. a ">" is missing in the output xml, making whole xml invalid

The error happen in ENT_SubLoop element

output xml in this part looks like that:

<ns0:ENT_SubLoop<ns0:TS820_2000B_Loop xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/X12/2006">

The ">" for ENT_SubLoop is missing.

July 24th, 2014 3:36pm

I am experiencing a nearly identical problem, only I am using BizTalk 2010:

<ns0:ENT_SubLoop<ns0:TS820_2000B_Loop_Loop<ns0:TS820_2000B_Loop xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/X12/2006">

The ">" for ENT_SubLoop is missing from the generated XML.

I applied the subdocument_creation_break as follows:

- <xs:element name="TS820_2000B_Loop"> - <xs:annotation> <xs:documentation>Loop for Individual Remittance</xs:documentation> - <xs:appinfo>   <b:recordInfo structure="delimited" field_order="infix"
delimiter_type
="inherit_record" subdocument_creation_break="yes"
count_ignore
="yes" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" trigger_field="ENT_IndividualRemittance/ENT02_EntityIdentifierCode" trigger_value="2J" /> </xs:appinfo> </xs:annotation> - <xs:complexType> - <xs:sequence>   <xs:element minOccurs="1" maxOccurs="1" ref="ENT_IndividualRemittance" />   <xs:element minOccurs="0" maxOccurs="unbounded" ref="TS820_2100B_Loop" />   <xs:element minOccurs="0" maxOccurs="unbounded" ref="TS820_2200B_Loop" />   <xs:element minOccurs="1" maxOccurs="unbounded" ref="TS820_2300B_Loop" /> </xs:sequence> </xs:complexType> </xs:element>

This appears to be a problem with the EDI disassembler. 

Has anyone else experienced this?  Any known fix or easy workaround?

Free Windows Admin Tool Kit Click here and download it now
April 23rd, 2015 5:27pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics