BUG: You cannot validate an instance file that has two positional records in the same schema that is generated by BizTalk Server 2002 or later (870951)



The information in this article applies to:

  • Microsoft BizTalk Server 2002
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition

SYMPTOMS

When you try to validate a instance file against a schema that was generated by Microsoft BizTalk Server 2002 or later, you may receive an error message that is similar to the following:

The current definition being parsed is AccountArrearageResFlat.
The stream offset where the error occured is 10.
Path\FileName.
BEC2004: Validate Instance failed for schema FileName, file: file://Path\FileName.
Note The word "occurred" is spelled incorrectly in this error message.

CAUSE

This problem occurs because of a limitation in the flat file parser when the parser runs in complexity mode after the grammar has been generated and factored. The flatfile schema in this case contains two optional positional records that do not contain tags.

RESOLUTION

You may be able to resolve this by changing the parser_optimization to "speed". If that does not work you must add tags to each of the records.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:7/27/2004
Keywords:kbnofix kbBug KB870951 kbAudDeveloper kbAudITPRO