I use the XML package from the standard library (encoding/xml) and I wonder why the line attribute of the decoder is not exposed such as
func (d *Decoder) InputLine() int {
return d.line
}
The offset for example is exposed:
func (d *Decoder) InputOffset() int64 {
Is there an obvious reason for that that I am missing? Or more in the line of "not yet implemented"?
Thanks
Patrick