Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The XML output of the map translation may contain additional control characters that enclose the constant value in BizTalk Server 2002 or in BizTalk Server 2000


View products that this article applies to.

Symptoms

When you use the Destination constant value box to assign a constant value to a destination field value in Microsoft BizTalk Mapper, the XML output of the map translation may contain additional control characters that enclose the constant value. The XML output of the map translation may contain the following additional control characters:
Carriage returns (0x0d)
Line feeds (0x0a)
Tabs (0x09)
Note This problem occurs when you use the map in the BizTalk Messaging Engine in Microsoft BizTalk Server 2002 or in Microsoft BizTalk Server 2000.

↑ Back to the top


Cause

This problem occurs because assigning a constant value in the Destination constant value box is designed for testing maps only.

↑ Back to the top


Resolution

To resolve this problem and to assign a constant value to a destination field value, use a Scripting functoid. In the Scripting functoid, create a constant input parameter of the constant value. Then, link the functoid to the destination field. When the map is run, the XML output does not contain additional control characters that enclose the constant value.

↑ Back to the top


More information

If your application uses the Microsoft XML Parser (MSXML) 3.0 or a later version to consume the XML output, the additional control characters are removed when the XML output is loaded in the XML Document Object Model (XMLDOM).

For more information about how to work with functoids, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: KB901264, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 901264
Revision : 2
Created on : 3/15/2007
Published on : 3/15/2007
Exists online : False
Views : 493