Change in Default Whitespace Behavior in BizTalk

Installing one of the following updates results in BizTalk changing default behavior to preserve whitespace within the XML during mapping:

1. BizTalk 2010 CU1 or above
2. BizTalk 2009 CU3 or above
3. BizTalk 2006 R2 SP1 CU4 or above
4. Hotfix 2492255

More information
In some environments, it may be preferred that the transform remove whitespace. In order to revert to this behavior, the following steps can be taken:

In BizTalk 2010, this is set at the host level:

1. Open BizTalk Server Administration Console
2. Expand the BizTalk Group out to Platform Settings > Hosts
3. Right-click on the host and choose Settings
4. Check the checkbox next to Legacy whitespace behavior
5. Click OK
6. Restart the BizTalk Host Instances for this host

In BizTalk 2009 and 2006 R2 this value is set at a per-machine level:

1.  Open Registry Editor
2.  Locate and then click the following registry subkey on an x86-based computer:
• HKEY_LOCAL_MACHINE\Software\Microsoft\BizTalk Server\3.0\Administration
For an x64-based computer, click the following registry subkeys:
• HKEY_LOCAL_MACHINE\Software\Microsoft\BizTalk Server\3.0\Administration 
• HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\BizTalk Server\3.0\Administration 
3.  Right-click and choose DWORD value. 
4.  Type LegacyWhitespace for the value name and then double-click on it and set the Value data to 1.
5.  Exit Registry Editor. 
6.  Restart the BizTalk Host Instances on this machine


whitespace, white space, transform, map, mapper, mapping, transformation, legacywhitespacebehavior
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2786241 - Last Review: 03/14/2013 21:57:00 - Revision: 2.0

Microsoft BizTalk Server 2006 R2 Branch Edition, Microsoft BizTalk Server 2006 R2 Developer Edition, Microsoft BizTalk Server 2006 R2 Enterprise Edition, Microsoft BizTalk Server 2009 Branch, Microsoft BizTalk Server 2009 Developer, Microsoft BizTalk Server 2009 Enterprise, Microsoft BizTalk Server 2009 Standard, Microsoft BizTalk Server Branch 2010, Microsoft BizTalk Server Developer 2010, Microsoft BizTalk Server Enterprise 2010, Microsoft BizTalk Server Standard 2010

  • KB2786241