On a fairly recent installation of FC4, as updated, I am getting errors when validating a docbook document. The errors start like so: -------------------------------------------------- cd /home/ccurley/projects/yum/ nsgmls -wxml -s yum.xml nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/docbookx.dtd:74:15:W: named character reference nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/docbookx.dtd:74:17:E: "X20AC" is not a function name nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/ent/iso-amsa.ent:8:17:W: named character reference nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/ent/iso-amsa.ent:9:17:W: named character reference nsgmls:/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/ent/iso-amsa.ent:9:19:E: "X21B7" is not a function name etc. -------------------------------------------------- The DTD is as follows: -------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/docbookx.dtd" [ <!ENTITY myemail "charlescurley at charlescurley dot com"> <!ENTITY myurl "http://www.charlescurley.com"> ]> -------------------------------------------------- This has worked in the past on an older FC4 installation, but I appear to be missing something. The file works fine with jade, e.g. -------------------------------------------------- cd /home/ccurley/projects/yum/ make smooth /usr/bin/jade -V nochunks -t sgml -i html -d /usr/share/sgml/docbook/dsssl-stylesheets/ldp.dsl -d /usr/share/sgml/docbook/dsssl-stylesheets/ldp.dsl\#html /usr/share/sgml/xml.dcl yum.xml > yum.smooth.html /usr/bin/jade:/usr/share/sgml/docbook/dsssl-stylesheets/ldp.dsl:20:0:E: character data is not allowed here Compilation finished at Wed Jan 25 19:14:37 -------------------------------------------------- -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
Attachment:
pgpAHDf9xuWwK.pgp
Description: PGP signature