Proposal Details

Since #45669 was accepted, for consistency, we should probably support omitzero option in encoding/xml with the exact semantic. See comments https://github.com/golang/go/issues/45669#issuecomment-2289770548, https://github.com/golang/go/issues/45669#issuecomment-2315878346.

Comment From: callthingsoff

could I gently nudge this proposal for consideration? It makes sense that we can use this option in both encoding/json and encoding/xml packages.

Comment From: aclements

This proposal has been added to the active column of the proposals project and will now be reviewed at the weekly proposal review meetings. — aclements for the proposal review group