-
Notifications
You must be signed in to change notification settings - Fork 46
Invalid xml characters #68
Comments
Thanls @eloo, Can you provide the input to |
here is a snippet of the .out file which is produced by go test |
After some investigation, I don't really know what to do here. According to this article you can't have anything in I've tried using Will gladly hear some new ideas |
@tebeka as fas as i know the problem comes from the ansi sequences.. |
I'm not sure I want to do this in the general case since it might delete data people use. Maybe a flat to clean it up? Need to think about it. |
but this should only strip ansi characters which are nevertheless useless in xml :D you can also check this project https://github.com/jstemmer/go-junit-report for reference, because this looks to work with ansi output |
Hi,
i was just integrating your tool in my build pipeline and sadly its not working for my integration tests because the console output is not escaped and so the cdata holds invalid characters.
Maybe they can be easily stripped?
Here is the error thrown by jenkins
and here is a snippet of my xml with the error
if you past this into https://www.xmlvalidation.com you will see the error.
I guess the invalid characters are coming from the ansii output but nevertheless the generated xml should be parsable.
Thanks
The text was updated successfully, but these errors were encountered: