How ignore errors in XML response
Hi!
When trying to receive xml response
set sc = ##class(%XML.TextReader).ParseString(str,.reader)
I'm getting error bellow:
Invalid character (Unicode: 0x1A) while processing Anonymous Stream at line 2 offset 281
How I can ignore this error? Thank you.
Discussion (2)0
Comments
You'll have to fix the incoming XML.
Thank you Fabian! I have change the unicode to UTF-8.