โ06-03-2021 10:27 AM
Iโm having trouble using the XML Generator with data that contains special symbols and characters. All the usual suspects (<, >, &, ", ', ) have been taken care of by using the HTML notations <, >, &, etc., but Iโm having trouble with others that I feel should work. For instance, the symbol for the registered sign, ยฎ, should be notated as ยฎ, however, the XML generator gives me an error stating that โthe entity, reg, is referenced but not delcared.โ How do I go about declaring these. I have quite a number of symbols and accented/uumlatโed letters that I need to use. Whether I use the rendered symbol or the HTML notation, the XML Generator fails.
How can I successfully include these symbols in my XML messages so that the XML Generator doesnโt see them as errors? See pics below for examples of my issue.
โ06-03-2021 11:41 AM
Replacing ® with the decimal equivalent may work (ie, ®). There is
also an "Escape Special Characters" checkbox which will escape many special
characters.
For example, < -> <
Though representation may not be correct if already escaped, for example, < -> &lt;
โ06-03-2021 12:57 PM
I tried playing with the โescape special charactersโ option, but it just dropped my special charcter data instead of leaving the escaped notations as they were.
โ06-03-2021 01:12 PM
Hmmmโฆ Frustrating indeed. Let me conduct an experiment too.
โ06-03-2021 01:47 PM
Iโm wondering if thereโs a way to make the XML Generator and the XML Formatter ignore escaped codes and leave them as they are instead of rendering them. It would be nice if ®/&174 behaved the same way as < and >
Thanks for helping me look at this!