commit | e000e3cac19e62dd1213a080afbe752b6d9c5998 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Thu Apr 07 11:57:48 2016 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Thu Apr 07 02:09:14 2016 +0000 |
tree | e098461e380d31486c79cd2aa2f575fd61d6d3cb | |
parent | af4fee9d05b66edc24197d189e6118f8ebce8c2b [diff] |
webdav: remove runtime check for Go 1.4 or earlier. During the Go 1.5 development cycle, this package used to require the standard library's encoding/xml package from Go 1.5 or later, but https://go-review.googlesource.com/#/c/12772/ (which was submitted in July 2015) made an internal fork of encoding/xml, as some namespace related changes introduced in the Go 1.5 cycle were rolled back in response to https://github.com/golang/go/issues/11841 Thus, this "go1.4" runtime check is no longer necessary. In the long term, this package should use the standard library's version, and the internal fork deleted, once https://github.com/golang/go/issues/13400 is resolved. We could re-introduce a similar check at that time, although it could be done at compile time (via a "go1.7" build tag) instead of at runtime. Change-Id: I18258443aa3d9b519e23106aedb189f25c35495d Reviewed-on: https://go-review.googlesource.com/21634 Reviewed-by: Andrew Gerrand <adg@golang.org>