Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 840186 - Last Review: March 20, 2007 - Revision: 2.2
BUG: A promoted property that has a default value in the document schema may not appear on the message context when you receive a document in BizTalk Server 2004
In a document schema in Microsoft BizTalk Server 2004, you
may promote a property with a default value set. When you receive a document
where the initial value of the property is not set, the empty property may
remain empty and may not be promoted to the context properties of the
document.
This issue occurs in BizTalk Server 2004 when you use a
Pipeline that performs no data validation on the contents of the received
document.
To work around this issue, use one of the following methods:
- In the Pipeline file, add the XML Validator component to
the Validate stage.
- In the Pipeline file, add the XML Disassembler component to
the Disassemble stage, and set the Validate document structure property to True on the XML Disassembler component.
Steps to reproduce the behavior
- Create a schema with a promoted property, and then set the
default value on that property.
- Receive a document for that schema that contains an empty
element for the promoted property.
- Make sure that a pipeline is used on the receive location
that does not perform any document validation.
- View the context properties of the document.
For more information about schemas or promoting properties,
visit the following Microsoft Developer Network (MSDN) Web site:
APPLIES TO
- Microsoft BizTalk Server 2004 Developer Edition
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Partner Edition
- Microsoft BizTalk Server 2004 Standard Edition
| kbtshoot kbnofix kbbtsorchestration kbbug KB840186 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate