<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Winterdom.BizTalk.PipelineTesting.Tests/PipelineInstanceConfig2.xml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -54,6 +54,28 @@ namespace Winterdom.BizTalk.PipelineTesting.Tests.Simple {
          Assert.AreEqual(MIME_SMIME_Encoder.MIMETransferEncodingType.SevenBit, 
             enc.ContentTransferEncoding);
       }
+      [Test]
+      public void CanApplyConfigToPipelineDifferentFormatting() {
+         // make sure XML formatting is not causing trouble
+         XmlTextReader reader = new XmlTextReader(
+            DocLoader.LoadStream(&quot;PipelineInstanceConfig2.xml&quot;)
+         );
+         SendPipelineWrapper pipeline = Pipelines.Xml.Send()
+            .WithAssembler(Assembler.Xml())
+            .WithEncoder(new MIME_SMIME_Encoder())
+            .WithInstanceConfig(reader);
+
+         XmlAsmComp xmlassm = (XmlAsmComp)
+            pipeline.GetComponent(PipelineStage.Assemble, 0);
+         Assert.IsFalse(xmlassm.AddXMLDeclaration);
+         Assert.IsFalse(xmlassm.PreserveBom);
+
+         MIME_SMIME_Encoder enc = (MIME_SMIME_Encoder)
+            pipeline.GetComponent(PipelineStage.Encode, 0);
+         Assert.IsTrue(enc.EnableEncryption);
+         Assert.AreEqual(MIME_SMIME_Encoder.MIMETransferEncodingType.SevenBit, 
+            enc.ContentTransferEncoding);
+      }
    } // class StreamingTests
 
 } // namespace Winterdom.BizTalk.PipelineTesting.Tests.Simple</diff>
      <filename>Winterdom.BizTalk.PipelineTesting.Tests/Simple/PerInstanceTests.cs</filename>
    </modified>
    <modified>
      <diff>@@ -114,6 +114,9 @@
   &lt;ItemGroup&gt;
     &lt;EmbeddedResource Include=&quot;SampleDocument_Bad.xml&quot; /&gt;
   &lt;/ItemGroup&gt;
+  &lt;ItemGroup&gt;
+    &lt;EmbeddedResource Include=&quot;PipelineInstanceConfig2.xml&quot; /&gt;
+  &lt;/ItemGroup&gt;
   &lt;Import Project=&quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&quot; /&gt;
   &lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.</diff>
      <filename>Winterdom.BizTalk.PipelineTesting.Tests/Winterdom.BizTalk.PipelineTesting.Tests.csproj</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@ namespace Winterdom.BizTalk.PipelineTesting {
             if ( reader.NodeType == XmlNodeType.Element ) {
                String name = reader.LocalName;
                String type = reader.GetAttribute(&quot;vt&quot;);
-               String value = reader.ReadElementContentAsString();
+               String value = reader.ReadString();
                Write(name, type, value);
             }
          }</diff>
      <filename>Winterdom.BizTalk.PipelineTesting/InstConfigPropertyBag.cs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>06beee20411f3094e0608f931fa6e8d64d49befa</id>
    </parent>
  </parents>
  <author>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </author>
  <url>http://github.com/tomasr/pipelinetesting/commit/7e75219f25c362de98048b6d225a89a75f6c9d48</url>
  <id>7e75219f25c362de98048b6d225a89a75f6c9d48</id>
  <committed-date>2009-10-03T07:40:05-07:00</committed-date>
  <authored-date>2009-10-03T07:40:05-07:00</authored-date>
  <message>Applying Mark Coleman's patch for Per-Instance Config parsing</message>
  <tree>ff6b1db18ec7c9b13970c591e518a817a83513b8</tree>
  <committer>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </committer>
</commit>
