Trying to validate an XML document; however, xmllint is insisting on reading the options as the file so I'm getting FileNotFound exceptions. Just to confirm, I have the xmllint.exe in the same folder as my XML file. I locate the directory in CMD and enter the command:
xmllint --noout --valid file.xml
The DTD is located within the xml file. However, xmllint is looking for the file ~/--nout
. I have tried putting the file before the options, however, the options are then not applied. I'm relatively new to this, so I have no doubt the problem is obvious.
Thanks in advance.
EDIT: Here is a screenshot of it refusing to work >:(
xmllint --version
xmllint still tries to find~/--version
? – Kronos