Article ID: 276689 - Last Review: August 5, 2004 - Revision: 4.4

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

This article was previously published under Q276689
Expand all | Collapse all

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:
Collapse this imageExpand this image
Download
Download Mapsample.exe now (http://download.microsoft.com/download/biztalkserver/sample/2000/nt5/en-us/mapsample.exe)
The Mapsample.exe file contains the following files:

Collapse this tableExpand this table
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  (http://support.microsoft.com/kb/119591/EN-US/ ) 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.

APPLIES TO
  • Microsoft BizTalk Server 2000 Standard Edition
Keywords: 
kbdownload kbdownload kbfile kbgraphxlinkcritical kbpending kbprb KB276689
 

Article Translations

 

Related Support Centers