Parsing very large html encoded xml results in Invalid XML : null
Last updated 2021-05-26 ·Reference W-1858080 ·Reported By 2 users
Summary
"System.XmlException: Invalid XML: null " error is received while parsing the string through XmlStreamReader
Repro
1)Create a test class with a long Html Encoded string and pass the string to the XmlStreamReader
2) You will receive an Invalid XML:null error when you try to run this test class
Workaround
The workaround for this issue is to pass a valid HTML Decoded xml to the XmlStreamReader.
Reported By (2)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.