1

I've tried to check xml-file on validness with cmd.exe by using the command 'xmllint' as in the example: xmllint -schema Bookstore.xsd --noout Bookstore-XSD.xml but as a result, I saw the error:

'xmllint' is not recognized as an internal or external command, operable program or batch file.

Should I install some specific library? And if I should, where is it must be (what is the folder)?

dizcza
  • 630
  • 1
  • 7
  • 19
  • @ggorlen installing the package helped me 7 years ago. Don't use Windows since then :) – dizcza Nov 18 '20 at 11:07
  • Glad to hear but other people with the same problem might still wind up at this thread (7k views as of now) and should be directed to the canonical dupe to get the most complete answer. The default phrasing makes it seem like a question but it's just a vote to close. – ggorlen Nov 18 '20 at 16:04

2 Answers2

1

xmllint isn't a standard part of Windows. It's typically used on a Unix-based operating system.

You can install it via cygwin on Windows as part of the libxml2 package. Alternatively, there might be a standalone Windows version of xmllint.exe available if you Google for it.

Matthew Strawbridge
  • 19,940
  • 10
  • 72
  • 93
1

You can find a standalone Windows executable at the xmllint download page at Google Code.

Renaat De Muynck
  • 3,267
  • 1
  • 22
  • 18
  • 3
    No, that's not the real xmllint program. See http://stackoverflow.com/a/16505201/407651. – mzjn Feb 22 '14 at 07:59