There's a problem with the start and end tags of consumer_information and the potential tag Physical Address contains a blank and is not formatted correctly either if it's a tag.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Michael Ryan
Sent: Friday, August 13, 2010 12:19 PM
To: Web Enabling the AS400 / iSeries; Midrange Systems Technical
Discussion
Subject: Malformed XML
Anyone see what's wrong with this XML? I have to be able to intelligently
tell the provider.
<?xml version="1.0" encoding="UTF-8"?>
<Blah_ABC_Response>
  <Blah_ABC_Decision_Info>
    <Consumer_Information
      First_Name="JOHN"
      Last_Name="ISNER"
      <Physical Address
        Address_Line_1="1 TENNIS DR "
        Address_Line_2=""
        Address_City="WARREN"
        Address_State_Code="MI"
        Address_Postal_Code="49802"/>
      Birth_Date="1985-01-01"
      Home_Telephone_Number="5869831111"
      Requestor_Transaction_Amount="03500"/>
    </Consumer_Information>
  </Blah_ABC_Decision_Info>
</Blah_ABC_Response>
Is it that Address_Postal_Code and Requestor_Transaction_Amount both have
ending brackets? I removed the one after Address_Postal_Code, but I received
the same error in the same place.
Thanks!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/midrange-l.
 
As an Amazon Associate we earn from qualifying purchases.