Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/xml: can decode but not encode a DOCTYPE with an internal subset #10158
It looks like the test in Encoder.EncodeToken is a little too strict. In general it would be good if the encoder could encode a stream of tokens received from the decoder.