PRB: BizTalk Mapper Outputs Error When There Is No Output Data (276780)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q276780

SYMPTOMS

When you test a map in the BizTalk Mapper, the following message may occur in the output window:
The XML page cannot be displayed.
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

XML document must have a top level element.

CAUSE

This is a standard error message generated by the MSXML parser when it attempts to load a blank document. If the output of a map test is a blank document, the error is generated when the BizTalk Mapper attempts to load the document into the MSXML parser.

RESOLUTION

The BizTalk Mapper always generates a blank document as test output if there are no links established between the source and destination document. Therefore, make sure that there is at least one link between the source and the destination document before you attempt to generate test output.

STATUS

This is by design.

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbnofix kbprb KB276780