title: BizTalk XML Transmit Pipeline Sends Non Well-Formed XML
body: <p>I have a send port in my BizTalk Application that has an XML Transmit pipeline on it. When I send a .xml file through it that is well-formed, it works just fine and the .xml file arrives at the destination folder untouched. However, if that file is NOT well-formed, the file will still go through to the destination folder, however anything after the namespace declaration is gone.</p>
  
  <p>My question is two part, I suppose:</p>
  
  <ol>
  <li>Shouldn't the XML Transmit pipeline let ONLY well-formed XML through?</li>
  <li>What about the XML Transmit pipeline is stripping the rest of the XML from the file?</li>
  </ol>
  
  <p>Many thanks in advance. One of my first posts, so let me know what I'm doing wrong or if I can be more clear in my questions/descriptions.</p>
  
  <p><em><strong></em>____</strong><em>UPDATE</em><strong><em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__</strong></p>
  
  <p>To dig a little further into my problem here . . . 
  The gist of my BizTalk Application is this: Take in one .zip file full of .xml files in a receive location, spit out the individual .xml files in the send location, but ONLY those that are well-formed to the given schema.</p>
  
  <p>In a well-formed world, the unzipping works like a charm based on a custom disassemble pipeline component. If all the .xml files are well-formed in the .zip file that I put in my receive location, the output is each individual .xml file like one would hope. However, if even just ONE of these files malformed, then the service instance is suspended and I'm dead in the water.</p>
  
  <p>My receive pipeline consists of 3 components:</p>
  
  <ol>
  <li>A custom disassemble component that decompresses the .zip</li>
  <li>An XML Disassembler that has the given schema selected in the Document schemas collection, Recoverable Interchange set to True (This was my last hope :[ ), and Validate Documents set to true</li>
  <li>An XML Validator that has the given schema selected in the Document schemas collection and Recoverable Interchange set to True</li>
  </ol>
  
  <p>I get an error when I put a .zip file with at least 1 malformed .xml document in it that says simply "<strong>The Messaging Engine encountered an error during the processing of one or more inbound messages.</strong>"</p>
  
  <p>So the real questions behind the questions, I suppose:</p>
  
  <ol>
  <li><strong>If Recoverable Interchange is on, why would those messages that are well-formed not end up in the send location, while the others get suspended as expected?</strong></li>
  <li><strong>What can I do to get this outcome: where those messages that are well-formed get to the messagebox and those that aren't simply don't?</strong></li>
  </ol>
  
  <p>All help is appreciated for the BizTalk beginner. Thanks so much y'all.</p>