Posts

Showing posts with the label xmltype

XML illegal characters (XMLTYPE parsing)

Image
Clash Royale CLAN TAG #URR8PPP XML illegal characters (XMLTYPE parsing) The following are usually mentioned as illegal XML characters: < > & ' " In PLSQL, when I convert an element having a VARCHAR2 value with the above characters to XMLTYPE, only < and & are reported as causes for XML non-well-formedness. 5 XML documents below, only the first (containing the less than mark) and the last one (containing the ampersand) are being flagged down as not-well formed. Is this as expected? --------------------------------- <?xml version="1.0" encoding="utf-8"?> <Request> <param1>test<message<param1> </Request> --------------------------------- <?xml version="1.0" encoding="utf-8"?> <Request> <param1>test>message<param1> </Request> --------------------------------- <?xml version="1.0" encoding="utf-8"?> <Request> <param...