xmllint DTD validation syntax

前端 未结 1 1005
闹比i
闹比i 2020-12-28 11:10

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 xml

相关标签:
1条回答
  • 2020-12-28 11:35

    I am pretty sure that you aren't using xmllint, but another program with the same name.

    I suspect that you are trying to use http://code.google.com/p/xmllint/. With it, I can reproduce your error message. The only thing that this program can do is to pretty-print the input file.

    The real xmllint for Windows is available at http://www.zlatkovic.com/libxml.en.html. Download libxml2-2.7.8.win32.zip, iconv-1.9.2.win32.zip, and zlib-1.2.5.win32.zip from the download area. Put the contents of the "bin" directory of each package in a single place. Read the "Getting The Binaries" and "Installing" sections for details.

    0 讨论(0)
提交回复
热议问题