Sequential delimiters in a flat file data may produce unexpected XML serialization results in BizTalk Server (832846)



The information in this article applies to:

  • Microsoft BizTalk Server 2002

SYMPTOMS

Microsoft BizTalk Server may generate unexpected output when it is serializing an XML file from a delimited flat file. For example, some of elements that are designated as optional may not be created although they exist in the flat file input.

CAUSE

This problem occurs when the input flat file has sequential delimiters with no intervening characters or white space.

RESOLUTION

To resolve this problem, make sure that your input data does not contain sequential delimiters with no intervening characters or white space.

STATUS

This behavior is by design.

MORE INFORMATION

The parser in Microsoft BizTalk Server 2002 has a unique parsing characteristic that is called early record termination. Early record termination applies to records with optional trailing fields. When BizTalk Server parses those optional trailing fields and then encounters any one of the delimiters of its ancestor, it will assume that the current record has been correctly terminated, it will unwind the parsing stack, and then it will resume its work at the level of its parent. This process can be recursive. If the parent record has the same traits (for example, if the record contains optional trailing fields), the parent record will also be terminated.

Modification Type:MajorLast Reviewed:2/10/2004
Keywords:kbprb KB832846 kbAudDeveloper