There's problem with binary name for xmlstarlet. Since bin/xml is too generic and prone to conflicts, most distros rename it introducing incompatibilities. For instance, Fedora and Debian/Ubuntu rename bin/xml to bin/xmlstarlet, Arch and Gentoo create a symlink and most BSDs leave it as bin/xml.
Is it possible to rename binary to xmlstarlet upstream to fix the problem and avoid incompatibility?
Totally agree.
Usage example from stackoverflow uses xmlstarlet binary name whereas built from source version on my ubuntu has 'xml' name which is a bit frustrating.