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.

BizTalk Server does not route a document correctly based on promoted properties in a BizTalk Server 2006 R2 environment


View products that this article applies to.

Symptoms

When you receive an XML document that contains several promoted attribute properties in a Microsoft BizTalk Server 2006 R2 environment, BizTalk Server does not route the document correctly based on these promoted properties.

↑ Back to the top


Cause

This problem occurs if an element that is represented in minimized tag syntax (also known as a self-terminating element) contains the promoted attributes. For example, the following code sample contains a self-terminating element:
<root>
<record name="Bob" />
</root>
If the name attribute in the schema that you deploy to BizTalk Server is a promoted property, BizTalk Server does not promote the content of this element when BizTalk Server processes the element through the receive pipeline. However, if the data is represented in a paired element tag, the property promotion works as expected. For example, the following code sample contains a paired element tag:
<root>
<record name="Bob"></record>
</root>

↑ Back to the top


Workaround

To work around this problem, use one of the following methods:
  • Use a map during pipeline processing. When you do this, BizTalk Server creates the end tag.
  • Use a custom pipeline component to handle promotion of these values. That is, use a custom pipeline component to add a closing element for the record before BizTalk Server passes the record to the XML disassembler.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB948840, kbprb, kbexpertiseinter, kbtshoot

↑ Back to the top

Article Info
Article ID : 948840
Revision : 2
Created on : 3/3/2008
Published on : 3/3/2008
Exists online : False
Views : 391