Re: Default XML Receive pipeline
- From: "Tomas Restrepo \(MVP\)" <tomasr@xxxxxxxx>
- Date: Thu, 5 Oct 2006 11:07:53 -0500
I have the same problem. In the standard XML Disassembler Probe method,
I get this error message:
Length cannot be less than zero.
Parameter name: length
Stack trace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32
length, Boolean fAlwaysCopy)
at Microsoft.BizTalk.Component.XmlDasmComp.Probe(IPipelineContext
pc, IBaseMessage inMsg)
This is only when I receive an XML message with this XML Declaration:
<?xml version='1.0' encoding='UTF-8'?>
If I change single-quotes (') by double-quotes ("), it works ok. I also
have probed to change the encoding, but never works with single-quotes.
OK, that was a good hint.
I think I know what's going on, and I would agree this is a bug. Here's the
issue:
The XML Disassembler component doesn't like it when the "encoding" attribute
of the <?xml?> declaration is wrapped in single quotes as opposed to double
quotes. As long as the encoding is wrapped in double quotes, biztalk doesn't
mind the rest of the document using single quotes at all
--
Tomas Restrepo
tomasr@xxxxxxxx
http://www.winterdom.com/
.
- Prev by Date: RE: BAM EventBus Service Error
- Next by Date: Biztalk 2004, more mute than Helen Keller?
- Previous by thread: Re: Default XML Receive pipeline
- Next by thread: RE: BAM EventBus Service Error
- Index(es):
Relevant Pages
|