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

Eric Blake eblake at redhat.com
Fri Apr 1 18:04:04 UTC 2011


On 03/31/2011 07:27 PM, Daniel Veillard wrote:
>> $ SGML_CATALOG_FILES='/etc/xml/catalog'   /usr/bin/xmllint --catalogs
>> --nonet --format --valid formatcaps.html.in >/dev/null
>> formatcaps.html.in:1: validity error : Validation failed: no DTD found !
>> <html>
>>      ^
> 
>   just drop --valid from the command line, xmllint usually doesn't
> check validity. But IMHO it's simpler to just drop the --html flag from
> xsltproc as suggestedon previous mail

Almost, it definitely caught some more bugs.  But it's not perfect; now
I'm getting:

Generating csharp.html.tmp
csharp.html.in:21: parser error : Entity 'nbsp' not defined
    <p> </p>
             ^
...
csharp.html.in:125: parser error : Entity 'iacute' not defined
      based upon the previous work of Jaromír &#x010C;ervenka.
                                                   ^

when make tries:

name=`echo csharp.html.tmp | sed -e 's/.tmp//'`; \
  /usr/bin/xsltproc --stringparam pagename $name --nonet \
    ../docs/site.xsl csharp.html.in > csharp.html.tmp

How do I make xsltproc recognize html entities without using --html?

-- 
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/20110401/d790d80b/attachment-0001.sig>


More information about the libvir-list mailing list