×
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.
Hi Justin,
I don't understand what you mean by "the value comes in as. . ." Comes
into what?
Are you saying that it's passed to your XML-SAX handler with the &
encoded as & like that?
The problem, as I see it, is the original XML is not well-formed. You
can't have a bare & in the document -- that violates XML specs. It
should be & in the original XML.
I don't know why that would cause XML-SAX to encode the &, or pass it
encoded to your program.... but GIGO...
-SK
On 10/22/2014 8:35 AM, Justin Taylor wrote:
I'm having an issue parsing this XML:
<NAME>EXF-01 & 02</NAME>
The value comes in as:
EXF-01 & 02
The length is only 7, so I'm getting 'EXF-01 '.
Any suggestions on this? Do I have to ignore the length provided and parse it manually?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.