Search Results

Search: Posts Made By: mknag
6,245
Posted By mknag
Interesting!! What is your xmllint version? ...
Interesting!! What is your xmllint version?
Mine is "xmllint: using libxml version 20510"

Here is the output that I received by running the below command:
xmllint --schema myschema.xsd...
6,245
Posted By mknag
Thanks for your reply. So, the only option is...
Thanks for your reply.
So, the only option is to "grep | awk" the stdout for "validates/ fails" that is written in the console (or redirected to a tmp file) after xmllint?
But, just wondering when...
6,245
Posted By mknag
shell script xmllint schema validation error code 0
Command line xmllint --schema validation fails but $? returns 0

myinput.xml:
<myinput><header>mytestvalue</header></myinput>myschema.xsd
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy