Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An invalid XML character (Unicode: 0x1b) was found in the element content of the document #89

Open
bruun opened this issue Dec 3, 2019 · 0 comments

Comments

@bruun
Copy link

bruun commented Dec 3, 2019

This affects version 0.4.2, so it seems different to the other similar reported errors. The issue happens when a sinon-chai expect fails, and the failing line in the XML looks like this:

Nested exception: 
org.xml.sax.SAXParseException; lineNumber: 1481; columnNumber: 1; An invalid XML character (Unicode: 0x1b) was found in the element content of the document.

The line in question:

^[[31m    address: { city: "redacted", line1: "redacted", postal_code: "redacted" },

Let me know if there is any other information I can provide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant