Kristian Rosenvold opened MSHARED-258 and commented
When porting surefire to m-s-u I came across the case where
unicode \u0000 gets encoded as � in an xml attribute in the prettyprintxmlwriter. This is probably the reason why the PrettyPrintXmlWriter was forked into surefire originally.
Now from SUREFIRE-456 it seems like it's specification-wise illegal to do this encoding, but it does actually preserve the character value of non-printable characters.
So the more I type on this issue, the more it seems like the forked PPXW actually does the best-effort "right" thing when it comes to xml encoding "any" string as long as we want to stay human readable....?
I need some input on this one ;)
Affects: maven-shared-utils-0.1
Kristian Rosenvold opened MSHARED-258 and commented
When porting surefire to m-s-u I came across the case where
unicode \u0000 gets encoded as � in an xml attribute in the prettyprintxmlwriter. This is probably the reason why the PrettyPrintXmlWriter was forked into surefire originally.
Now from SUREFIRE-456 it seems like it's specification-wise illegal to do this encoding, but it does actually preserve the character value of non-printable characters.
So the more I type on this issue, the more it seems like the forked PPXW actually does the best-effort "right" thing when it comes to xml encoding "any" string as long as we want to stay human readable....?
I need some input on this one ;)
Affects: maven-shared-utils-0.1