[libvirt] [PATCH] Fix several formatting mistakes in doc

Eric Blake eblake at redhat.com
Thu Mar 31 19:53:49 UTC 2011


On 03/31/2011 11:15 AM, Eric Blake wrote:
> We already have code in place to call 'exit 1' on xmllint failure (but
> not in all places).  However, in my testing, it was xsltproc that is not
> throwing an error:
> 
> $ /usr/bin/xsltproc --stringparam pagename $name --nonet --html
> ../docs/site.xsl formatdomain.html.in > formatdomain.html.tmp
> formatdomain.html.in:356: HTML parser error : Unexpected end tag : vcpu
>         required attributes, the attribute <code>vcpu</vcpu> specifies
> vcpu id,
>                                                             ^
> $ echo $?
> 0
> 
> That looks like a bug in xsltproc (here from Fedora
> libxslt-1.1.26-3.fc14.x86_64), since the man page states that $? should
> be 6 when there is an error in the document.

Now tracked as https://bugzilla.redhat.com/show_bug.cgi?id=692671

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110331/77672cec/attachment-0001.sig>


More information about the libvir-list mailing list