On Thu, May 6, 2010 at 12:28 PM, Csaba Raduly <[email protected]> wrote:
> On Thu, May 6, 2010 at 11:47 AM, Andrew Hartley  wrote:
>>
>> Would someone please let me know how I can validate an XML file against its
>> XSD Schema file.  If there are validation errors I would then like to
>> extract the human readable error description.
>
> From the commandline:
> xmllint --noout --schema foo.xsd foo.xml
>

Watch out for --xinclude, in which case you have to use --postvalid. I
found it the hard way.

-- 
Mathieu
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to