Hi Michael
Try using the XML Editor, it will validate it for you
http://xml-copy-editor.sourceforge.net/
It shows 'extra content at the end of the document'
HTH
Regards
Andy
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Friday, August 13, 2010 10:19 AM
To: Web Enabling the AS400 / iSeries; Midrange Systems Technical Discussion
Subject: [WEB400] 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 email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of the FormaServe Systems. FormaServe does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from FormaServe Systems.
FormaServe Systems is a limited company registered in England and Wales in 1990. Registered number: 2458169. Registered office: 91 Redland Drive Loughton Milton Keynes Bucks MK5 8FL. Website: www.formaserve.com
As an Amazon Associate we earn from qualifying purchases.