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

encoding/xml: can decode but not encode a DOCTYPE with an internal subset #10158

Closed
mhilton opened this Issue Mar 13, 2015 · 1 comment

Comments

Projects
None yet
4 participants
@mhilton
Copy link

mhilton commented Mar 13, 2015

  1. What version of Go are you using (go version)?
    go version go1.2.1 linux/amd64
  2. What operating system and processor architecture are you using?
    linux amd64
  3. What did you do?
    http://play.golang.org/p/ejQsFQ7BHN
  4. What did you expect to see?
    EOF
  5. What did you see instead?
    xml: EncodeToken of Directive containing > marker

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.

@minux minux changed the title encoding/xml can decode but not encode a DOCTYPE with an internal subset encoding/xml: can decode but not encode a DOCTYPE with an internal subset Mar 13, 2015

@minux minux added the repo-main label Mar 13, 2015

@rsc rsc added this to the Go1.5 milestone Apr 10, 2015

@rsc rsc removed the repo-main label Apr 14, 2015

@gopherbot

This comment has been minimized.

Copy link

gopherbot commented Jun 27, 2015

CL https://golang.org/cl/11630 mentions this issue.

@rsc rsc closed this in 8b6527b Jul 15, 2015

@golang golang locked and limited conversation to collaborators Jul 18, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.