Installing xmllint

I had the same problem and it took me two hours to make it work. Download iconv, libxml2, libxmlsec, and zlib from [ftp://ftp.zlatkovic.com/libxml/][1] Extract the zip file then copy all the files in the bin folder of each download. Paste the files in a folder (mine = XML) Add the C:\folderName (mine = C:\XML) in … Read more

How to get Xmllint to read from stdin?

I had a similar issue where I had to unzip an XML file then feed it to xmllint. The key is the “-” option which tells xmllint to read from stdin. For example: $ bzip2 -dc dierehabilitati00delagoog_meta.xml.bz2 | xmllint –format would fail giving the “usage” for xmllint. Adding “-” worked: $ bzip2 -dc dierehabilitati00delagoog_meta.xml.bz2 | … Read more

No matching global declaration available for the validation root

You need to change your XML instance. Your current one says that there is a type called description in the namespace http://www.namespace.org/recipe. However, in your XSD definition, the only types exposed in that namespace are called recipe and descriptionType. So either define a type called description in the XSD schema, or change your instance so … Read more