encoding/xml: Expose xml.Decoder.line #43589
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you do?
Creating custom XML schema validator.
What did you expect to see?
It would be great to expose
xml.Decoder.line
. Creating custom errors with line numbers is better then offset. The offset is already available throughInputOffset()
method.The text was updated successfully, but these errors were encountered: