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



XMLSERVICE is Open Source Richard.

If you think it needs fixing why not fix it instead of hacking around it?


On Dec 15, 2015, at 8:22 AM, Richard Schoen <richard@xxxxxxxxxxxxxxxxx> wrote:

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 returned XMLSERVICE
XML data that contains an ampersand.

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, HelpSystems
T: + 1 952-486-6802
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 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.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


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.