According to: http://validator.w3.org/check The XML you posted is valid.
I also checked it in IE, no error. -----Original Message----- From: Anthony Viallard [mailto:[email protected]] Sent: Tuesday, July 28, 2009 5:57 AM To: [email protected] Subject: [xml] xmllint simple validation fail 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. _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
