Index: src/pkg/encoding/xml/xml.go |
=================================================================== |
--- a/src/pkg/encoding/xml/xml.go |
+++ b/src/pkg/encoding/xml/xml.go |
@@ -1026,7 +1026,7 @@ |
if !ok { |
return |
} |
- i := strings.Index(s, ":") |
+ i := strings.IndexByte(s, ':') |
if i < 0 { |
name.Local = s |
} else { |