Hello everybody,

i have some problems with xmllint. I use it to validate the syntax of xml file. But with this xml bellow, which have one error, xmllint say "all is ok".

<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<lan ip_addr="192.168.9.1"/>" netmask="255.255.255.0" />
</rsp>

i think the issue is xmllint stop parsing line after the />, nop ?

$ xmllint /tmp/apitest.sh.5393.xml
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<lan ip_addr="192.168.9.1"/>" netmask="255.255.255.0" /&gt;
</rsp>

Anthony.


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

Reply via email to