Article ID: 884622 - Last Review: June 16, 2006 - Revision: 4.1 Parsing a complex flat file may fail in BizTalk Server 2006 and in BizTalk Server 2004
SYMPTOMSWhen you try to parse a complex flat file in Microsoft BizTalk Server 2006 or in Microsoft BizTalk Server 2004, the parser may fail, and you may receive an error message that is similar to one of the following error messages: Error message 1 Unexpected Data Found while looking for ElementName Unable to match the data in the input stream CAUSEThis problem may occur when the parser_optimization property is set to the default value of "speed" in the schema. Additionally, if you have many optional nodes in the same group or record, the lookahead_depth property may not be set correctly. RESOLUTIONTo resolve this problem, set the parser_optimization property to "complexity" and the lookahead_depth property to "0" (zero) in the schema. The parser_optimization property and the lookahead_depth property are not present in the user interface. You must manually change the properties in the schemaInfo element, as in the following example: MORE INFORMATIONBizTalk Server has the following two modes for the algorithm to parse a flat file into XML:
There are five properties that cannot be changed in the BizTalk Server 2004 user interface. The following table lists the flat file node properties: Collapse this table
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
