|
Interesting.
Since Zend chose this as a PHP data access mechanism for IBM i, I wonder
how
they deal with this issue.
Seems to me that the XMLCGI app needs to be tweaked to encode returned XML
data so it can be properly parsed by an XML handler rather than fixed.
Back to the hack factory :-)
Regards,
Richard Schoen
richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
Cell: 612-384-2118
------------------------------
message: 3
date: Mon, 14 Dec 2015 22:18:25 -0600
from: Bradley Stone <bvstone@xxxxxxxxx>
subject: Re: XMLSERVICE and Parsing XML Responses
The & should be encoded. Your parser is looking for the representation
following it and hits a blank... error.
I run into this all the time with XML and different trading partners.
There's never one that works like the other, or that doesn't need special
attention and data "massaging" before I can run it through a parser.
*shrug*
Brad
www.bvstools.com
On Mon, Dec 14, 2015 at 4:32 PM, Richard Schoen <
Richard.Schoen@xxxxxxxxxxxxxxx> wrote:
Not sure if this is specific to .Net, but when parsing returnedXMLSERVICE
XML data that contains an ampersand.HelpSystems
Example: "A & E Services" I get a .Net XML parser error.
If I replace the ampersand with something else it works fine.
Has anyone else seen this issue with XMLSERVICE or even parsing data that
contains special characters that aren't encoded ?
Any thoughts appreciated.
Thanks
Regards,
Richard Schoen | Director of Document Management Technologies,
T: + 1 952-486-6802list
RJS Software Systems | A Division of HelpSystems
richard.schoen@xxxxxxxxxxxxxxx<mailto:richard.schoen@xxxxxxxxxxxxxxx>
www.rjssoftware.com<http://www.rjssoftware.com/>
Visit me on: Twitter<https://twitter.com/richardschoen> | LinkedIn<
http://www.linkedin.com/in/richardschoen>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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 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.