Re: Default XML Receive pipeline

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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/


.



Relevant Pages

  • Re: xsd regular expression query
    ... in single quotes to also be valid, ... followed by zero or more characters except the character ' followed by ... MyYear and MyMonth appear in single quotes in the xml file ...
    (comp.text.xml)
  • Re: datevalue
    ... "Govind" wrote: ... > Your first two values were within single quotes and hence they wont ... On the third format, am not sure of the reason why it doesnt work, ... >> When I try to use the function DateValue, I keep getting an error message of ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Combobox rowsource
    ... gives an error message: "runtime error 380.Could not set the Rowsource ... Invalid property value" ... the single quotes but it appears if I remove the spaces and leave the ... remove the spaces from the filename? ...
    (microsoft.public.excel.programming)
  • Re: Default XML Receive pipeline
    ... I am trying to accept uses single quotes to wrap attributes, ... Now, single quotes are excepted in the XML specification, so my question ... processing such a message (besides of which BizTalk actually uses the ... The XML Assembler pipeline component outputs the new document with double ...
    (microsoft.public.biztalk.general)
  • Re: $ in csh
    ... one of the parameters that I'm passing is a home directory of a tandem ... but when I try to do it with csh, I still get an error message (the ... How about single quotes instead of double quotes, ...
    (comp.unix.programmer)