[xml] xmllint simple validation fail
- From: Anthony Viallard <avd patatrac info>
- To: xml gnome org
- Subject: [xml] xmllint simple validation fail
- Date: Tue, 28 Jul 2009 11:57:25 +0200
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" />
</rsp>
Anthony.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]