Re: [libvirt] [RFC PATCH] build: detect doc build errors

2011-04-03 Thread Daniel Veillard
On Fri, Apr 01, 2011 at 04:06:50PM -0600, Eric Blake wrote: I'm still stumped by xsltproc complaining about nbsp; not being a valid XML entity, hence the (hackish) exemption in docs/Makefile.am that adds --html for a couple of .html.in files. But for the remaining files, this does make input

[libvirt] [RFC PATCH] build: detect doc build errors

2011-04-01 Thread Eric Blake
I'm still stumped by xsltproc complaining about nbsp; not being a valid XML entity, hence the (hackish) exemption in docs/Makefile.am that adds --html for a couple of .html.in files. But for the remaining files, this does make input validation stricter, and caught several bugs. Hence, this is an

[libvirt] [RFC PATCH] build: detect doc build errors

2011-03-31 Thread Eric Blake
This fixes more cases of xmllint not detecting errors. HOWEVER - xsltproc mistakenly exits with $? of 0 even when encountering problems. It's probably better to run a separate xmllint before xsltproc to ensure the input file is well-formed xml (not just that the output file was well-formed