escapeStringXml vs escapeStringXML
Open
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 263
- PR merge metrics
- No merged PRs in 30d
Description
The PR [[fix661]](https://github.com/google/go-jsonnet/pull/662) that added support for the escapeStringXml() function named it with XML in uppercase, i.e. escapeStringXML().
According to the Stdlib [reference](https://jsonnet.org/ref/stdlib.html#:~:text=std.-,escapeStringXml,-(str)), it should be the former.
I don't know which one is correct (I assume the former for consistency with the other escapeString* functions), but the documentation and the implementation need to be consistent.
Or overload them so both forms work.
Contributor guide
Assessment
This issue has not been assessed yet.