xml-js
xml-js copied to clipboard
Inferring file type for non-lowercase filenames
Hi,
When using the CLI on a filename whose extension is not fully lowercase (e.g. npx xml-js TEST.XML
) the CLI fails to recognize the file type and exits without any output or error code.
I've added also an error print and error code for (legitimately) unrecognized file extensions.
Thanks for this project.