PRB: Output Data Contains Empty Records or Fields When You Use an XSLT Map with BizTalk Server 2000 (276689)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q276689

SYMPTOMS

When you use an XSLT map with BizTalk Server 2000, the output data may contain empty records or fields. This can cause validation against the destination schema to fail.

CAUSE

Validation failure can occur when the destination schema contains fields that have a minimum length, and the field is not populated by the data from the inbound document. In this case, the resulting XML document has a record or records that contain an empty field.

RESOLUTION

Use the logical and value mapping functoids to only create records or fields in the outbound document if they contain data.

MORE INFORMATION

The Mapsample.exe file contains examples of how to use the logical and value mapping functoids with BizTalk Server to prevent empty records or fields in your output data.

The following file is available for download from the Microsoft Download Center:
The Mapsample.exe file contains the following files:

File nameSize
Bad_map.xml7KB
Good_map.xml8KB
Good_testdata.xml1KB
Input.xml1KB
Inputspec.xml2KB
Map.xml8KB
No_fields_yes_records_map.xml10KB
No_fields_yes_records_testdata.xml1KB
Output.xml1KB
Outputspec.xml2KB
Readme.txt3KB
Runmap1.vbs1KB


Release Date: Apr-02-2001

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Modification Type:MinorLast Reviewed:8/5/2004
Keywords:kbdownload kbdownload kbfile kbgraphxlinkcritical kbpending kbprb KB276689