)]}'
{
  "commit": "c0d6d332f68a38bc13825279d2048a16fffe87f9",
  "tree": "1fe210a19b29e7422f8123c86fd61f98ba6281fc",
  "parents": [
    "da87cf5dcf342a31c82ff7980bdc076558ff6674"
  ],
  "author": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Thu Jul 23 10:28:27 2015 -0400"
  },
  "committer": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Mon Jul 27 16:03:38 2015 +0000"
  },
  "message": "encoding/xml: restore Go 1.4 name space behavior\n\nThere is clearly work to do here with respect to xml name spaces,\nbut I don\u0027t believe the changes in this cycle are clearly correct.\nThe changes in this cycle have visible impact on the generated xml,\npossibly breaking existing programs, and yet it\u0027s not clear that they\nare the end of the story: there is still significant confusion about how\nname spaces work or should work (see #9519, #9775, #8167, #7113).\n\nI would like to wait to make breaking changes until we completely\nunderstand what the behavior should be and can evaluate the benefit\nof those breaking changes. My main concern here is that we will break\nprograms in Go 1.5 for the sake of name space adjustments and then\nwhile trying to fix those other bugs we\u0027ll break programs in Go 1.6 too.\nLet\u0027s wait until we know all the changes we want to make before we\ndecide whether or how to break existing programs.\n\nThis CL reverts:\n\n5ae822b encoding/xml: minor changes\nbb7e665 encoding/xml: fix xmlns\u003d behavior\n9f9d66d encoding/xml: fix default namespace of tags\nb69ea01 encoding/xml: fix namespaces in a\u003eb tags\n3be158d encoding/xml: encoding name spaces correctly\n\nand adjusts tests from\n\na9dddb5 encoding/xml: add more EncodeToken tests.\n\nto expect Go 1.4 behavior.\n\nI have confirmed that the name space parts of the test suite\nas of this CL passes against the Go 1.4 encoding/xml package,\nindicating that this CL successfully restores the Go 1.4 behavior.\n\n(Other tests do not, but that\u0027s because there were some real\nbug fixes in this cycle that are being kept. Specifically, the\ntests that don\u0027t pass in Go 1.4 are TestMarshal\u0027s NestedAndComment\ncase, TestEncodeToken\u0027s encoding of newlines, and\nTestSimpleUseOfEncodeToken returning an error for invalid\ntoken types.)\n\nI also checked that the Go 1.4 tests pass when run against\nthis copy of the sources.\n\nFixes #11841.\n\nChange-Id: I97de06761038b40388ef6e3a55547ff43edee7cb\nReviewed-on: https://go-review.googlesource.com/12570\nReviewed-by: Nigel Tao \u003cnigeltao@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3c3b6aca586f5ed183ecedeb8caf32c9483c459a",
      "old_mode": 33188,
      "old_path": "src/encoding/xml/marshal.go",
      "new_id": "b8dad494fb3d0606c2d32ba575ff5fc77f675cec",
      "new_mode": 33188,
      "new_path": "src/encoding/xml/marshal.go"
    },
    {
      "type": "modify",
      "old_id": "5dc78e748b306fb9e7b471da46ec082f36021145",
      "old_mode": 33188,
      "old_path": "src/encoding/xml/marshal_test.go",
      "new_id": "66675d7abc409e8f39f4ffa523e098589cb6e1a3",
      "new_mode": 33188,
      "new_path": "src/encoding/xml/marshal_test.go"
    },
    {
      "type": "modify",
      "old_id": "02f1e10c330add9ab1c30cfc648c0241094e3255",
      "old_mode": 33188,
      "old_path": "src/encoding/xml/read_test.go",
      "new_id": "7d004dc488cdfe7a6bd9bb29e0278acae9b4b514",
      "new_mode": 33188,
      "new_path": "src/encoding/xml/read_test.go"
    },
    {
      "type": "modify",
      "old_id": "c9a6421f2806b65569467d715906742884db4511",
      "old_mode": 33188,
      "old_path": "src/encoding/xml/typeinfo.go",
      "new_id": "22248d20a6d669e348c93f7d4b5feb558eee8e6d",
      "new_mode": 33188,
      "new_path": "src/encoding/xml/typeinfo.go"
    },
    {
      "type": "modify",
      "old_id": "ffab4a70c9dc069bea742e978ead4ab742f15752",
      "old_mode": 33188,
      "old_path": "src/encoding/xml/xml.go",
      "new_id": "0a21c9305310341812f95d48bdd55fdc4f117fdd",
      "new_mode": 33188,
      "new_path": "src/encoding/xml/xml.go"
    }
  ]
}
