|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^3: LibXML doesn't encode single or double quotesby grantm (Parson) |
| on Nov 28, 2011 at 22:11 UTC ( #940485=note: print w/ replies, xml ) | Need Help?? |
|
The clients that will be parsing this XML expect quotes and single quotes to be in entity form. How would they even know? Any compliant XML parsing library will decode the entities and pass the actual character up to the application layer. Getting the XML content with entities in their raw form would be a bug that could only cause downstream pain. If that really is a requirement then I feel your pain.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||