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



You can google for "XML entities" - there are 5 - quot, amp, apos, lt, and gt - they are rendered in a document in the format &name;

These characters all have special meaning in XML, so they cannot be on their own in a string, then need either to be rendered using the entity or in Unicode code point - for example, quot is U+0022, so you put &# before 0022 and ; after it - see one of the articles in that google search for more information.

HTH
Vern

On 4/1/2019 6:52 AM, Nirvan Chakravarthi wrote:
Hi All,

Could you please help me on this ?

I am getting parsing error ' The parser found an invalid character in
element content. ' when i am trying to parse below Tag and when i manually
remove *& *it is working fine. *& *and* < *are valid right ? i
believe having only & is the problem.

<packslipMessage>*Character@ .°¢⠢&amp;èé⠬-á&lt; "'Test*
</packslipMessage>

it is <?xml version="1.0" encoding="UTF-8"?>

it would be great if someone tell me that what are special characters are
illegal so that i can tell my host system not to send those characters.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.