You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the current state, Saxy only expects UTF-8 encoding, the parser will stop when the XML document explicitly says it's not UTF-8 encoded. Saxy very likely would not support other encodings.
If you are really sure that the input string is in UTF-8, for short term solution you could remove the encoding information before calling Saxy. For long term we could maybe provide an option to ignore encoding or override it to UTF-8, so the parser will continue even on unsupported encoding.
XML String
Here, the encoding value is
ISO-8859-1
.Now, if I try run simple form it is giving me the following error
Error
I tried to replace
ISO-8859-1
with 'UTF-8' and it is working fine.Is there a way to parse
ISO-8859-1
encoded xml?The text was updated successfully, but these errors were encountered: