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
Stacktraces from Kotlin Coroutines sometimes have '\b' (ASCII backspace, 0x08) character in them, e.g. a line like at \b\b\b(Coroutine boundary.\b(\b). Thanks to KXML's relaxed validation when serializing, this ends up in XML data as at (Coroutine boundary.(). However this isn't valid XML 1.0, see https://www.w3.org/TR/xml/#char32 (it is valid 1.1 but file header says 1.0) and breaks lots of existing parsers.
As there is no way of preventing such characters from appearing in the stacktraces, some kind of escaping should be done prior to writing them to XML, probably like it is already done for \0 in XmlTestRunListener.sanitize.
The text was updated successfully, but these errors were encountered:
Stacktraces from Kotlin Coroutines sometimes have '\b' (ASCII backspace, 0x08) character in them, e.g. a line like
at \b\b\b(Coroutine boundary.\b(\b)
. Thanks to KXML's relaxed validation when serializing, this ends up in XML data asat (Coroutine boundary.()
. However this isn't valid XML 1.0, see https://www.w3.org/TR/xml/#char32 (it is valid 1.1 but file header says 1.0) and breaks lots of existing parsers.As there is no way of preventing such characters from appearing in the stacktraces, some kind of escaping should be done prior to writing them to XML, probably like it is already done for
\0
in XmlTestRunListener.sanitize.The text was updated successfully, but these errors were encountered: