Re: [PATCH] Fix several formatting mistakes in doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>&nbsp;</p>
             ^
...
csharp.html.in:125: parser error : Entity 'iacute' not defined
      based upon the previous work of Jarom&iacute;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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]