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.