title: XML Error: Ill-formed at the Amazon Envelope XML level
body: <p>I am trying to get the Amazon Order Fulfillment API working but I ran into an issue. When I submit the HTTP request the response says it was submitted however, when I look at the 'Upload Order Related File' section in Amazon it says there was an error. The error I get is listed below:</p>
  
  <pre><code>The XML you submitted is ill-formed at the Amazon Envelope XML level at (or near) line 2, column 18.
  </code></pre>
  
  <p>Here is my XML request</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
              &lt;AmazonEnvelope xsi:noNamespaceSchemaLocation="amzn-envelope.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
                  &lt;Header&gt; 
                      &lt;DocumentVersion&gt;1.01&lt;/DocumentVersion&gt; 
                      &lt;MerchantIdentifier&gt;M_MySite_1234567&lt;/MerchantIdentifier&gt; 
                  &lt;/Header&gt;
                  &lt;MessageType&gt;OrderFulfillment&lt;/MessageType&gt;
                  &lt;Message&gt; 
                      &lt;MessageID&gt;1&lt;/MessageID&gt; 
                      &lt;OrderFulfillment&gt; 
                          &lt;AmazonOrderID&gt;112-0023859-8293023&lt;/AmazonOrderID&gt;
                          &lt;MerchantFulfillmentID&gt;789456123545646312&lt;/MerchantFulfillmentID&gt; 
                          &lt;FulfillmentDate&gt;2013-01-14T10:42:33&lt;/FulfillmentDate&gt; 
                          &lt;FulfillmentData&gt; 
                              &lt;CarrierCode&gt;UPS&lt;/CarrierCode&gt; 
                              &lt;ShippingMethod&gt;UPS Ground&lt;/ShippingMethod&gt; 
                              &lt;ShipperTrackingNumber&gt;1Z19Y92EYW42152145&lt;/ShipperTrackingNumber&gt; 
                          &lt;/FulfillmentData&gt; 
                          &lt;Item&gt; 
                              &lt;MerchantFulfillmentItemID&gt;123456700000074&lt;/MerchantFulfillmentItemID&gt;
                              &lt;Quantity&gt;1&lt;/Quantity&gt;
                          &lt;/Item&gt;
                      &lt;/OrderFulfillment&gt; 
                  &lt;/Message&gt;
              &lt;/AmazonEnvelope&gt; 
  </code></pre>
  
  <p>I'm not sure exactly what I am doing wrong. I am running ColdFusion 9.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks! </p>