XML-20201 and the Ampersand Character
Hello,
I have a PL/SQL package that generates XML. If there is ever an ampersand in the data then there is trouble with XML Publisher -- the PDF will not create and I see the following error in the OPP log:
Error |
---|
Caused by: org.xml.sax.SAXParseException; lineNumber: 1245; columnNumber: 48; <Line 1245, Column 48>: XML-20201: (Fatal Error) Expected name instead of <. |
I am using the correct escape mechanism for XML and replacing all ampersands with "&" (without the quotes), but it still doesn't work with XML Publisher. The XML renders just fine in a web browser.
Is there something needed in the RTF?