xml: add line numbers to syntax errors.

R=rsc
CC=golang-dev
https://golang.org/cl/699041
2 files changed