golang/go

encoding/xml: document why round-trip stability is not guaranteed

Open

#44,405 opened on Feb 19, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
DocumentationNeedsInvestigationhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

It is extremely non-obvious why encoding/xml does not guarantee round-trip stability. The package documentation should explain why that is the case, when this is a problem, and what users should do instead.

Contributor guide