Yes, your results matched what I’m experiencing too.
Ideally, I would like to see ®, ®, and ® go into the XML Generator (with Escape Special Characters unchecked) and come out in the exact same format, the same way as <, >, ', and " do. The same goes for the XML Formatter…I want to see any input that has been pre-escaped come out in the same format as it went in. This would make the behavior of the snaps consistent for all escaped codes.
As a retailer, our vendors pass to us product descriptions that are HTML formatted and friendly. I am attempting to place these product descriptions in XML messages so that they can be imported into our Salesforce hosted website and mobile app. Aside from <, >, ', ", and ®, I have around 17-20 additional escape codes that I need to use, however, the way the XML Generator and Formatters are working now, I am unable to do this.
Can I request for a future release that these snaps be changed so that the behavior is consistent for all escape codes when the Escape Special Characters option is turned off, or how would I go about making a custom snap to behave this way? Without a change like this, I’m pretty much dead in the water.
p.s. Answering your question, where is it failing for me?
When I use ® as input to either the Generator or the Formatter, they both fail due to “reg” not being declared.
When I use ® and ®, they go through the Generator snap successfully, however, as you’ve experienced, they come out of Generator snap as the registered sign. Downstream, when I am running this data through the XML Formatter (in preparation to do a file write), the Formatter fails because it does not like the registered sign.
I cannot use the Escape Special Characters option because I have so many codes that I need to use and this option only accounts for the less than sign, the greater than sign, the apostrophe, and quotation marks. No other symbols or special characters are recognized by this option.