× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Michael,

Just 6.0 with an old company standard here. It doesn't give much info (one error at a time like foxy and it might be confused about that) but it's available and free if you're running windows.

Paul Morgan

Principal Programmer Analyst
IS Supply Chain/Replenishment


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Friday, August 13, 2010 2:05 PM
To: Midrange Systems Technical Discussion
Subject: Re: Malformed XML

That's cool Paul...I was using FF and it seemed to stop at the first
problem. What version of IE are you using?

On Fri, Aug 13, 2010 at 1:20 PM, Morgan, Paul <Paul.Morgan@xxxxxxxxxxx>wrote:

Michael,

Open this XML up with Internet Explorer with an XML extension. It will
give warnings on what it can't parse.

<Physical Address should be one word.
<Physical_Address should be moved after the end of <Consumer_Information.
<Consumer_Information should end with > and not />

<?xml version="1.0" encoding="UTF-8"?>
<Blah_ABC_Response>
<Blah_ABC_Decision_Info>
<Consumer_Information
First_Name="JOHN"
Last_Name="ISNER"
Birth_Date="1985-01-01"
Home_Telephone_Number="5869831111"
Requestor_Transaction_Amount="03500">
<Physical_Address
Address_Line_1="1 TENNIS DR "
Address_Line_2=""
Address_City="WARREN"
Address_State_Code="MI"
Address_Postal_Code="49802"/>
</Consumer_Information>
</Blah_ABC_Decision_Info>
</Blah_ABC_Response>

Paul Morgan

Principal Programmer Analyst
IS Supply Chain/Replenishment

-----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.


--
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.