I'm parsing a 2GB XML file that contains the illegal entity  for some
reason. I don't have access to the source data and the file is generated
weekly so I need to be lax about those entities (replace them with a space
Here's an example of the error: http://play.golang.org/p/PQNusIo_Ix
First, should it cause an error?
Second, do you have any tips on how to remove those entities on the fly?
I was thinking of writing an XmlCharReader that implements io.Reader that
filters the entities but might need some tips on how to do that.