Microsoft KB Archive/901264

= 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 =

Article ID: 901264

Article Last Modified on 3/15/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition
 * Microsoft BizTalk Server 2002 Enterprise Edition
 * Microsoft BizTalk Server 2000 Standard Edition

-





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.



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



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.



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:

http://msdn2.microsoft.com/en-us/library/ms958961.aspx

Additional query words: BTS2004

Keywords: kbtshoot kbprb KB901264

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.