Bug 703472

Summary: UTF Character Number errors in DocBook transformations
Product: Red Hat Enterprise Linux 6 Reporter: Michael Solberg <msolberg>
Component: docbook-dtdsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: isenfeld, tlavigne
Target Milestone: rcKeywords: FastFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-27 07:11:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 947782, 1159825    
Attachments:
Description Flags
XML which reproduces the error. none

Description Michael Solberg 2011-05-10 13:11:12 UTC
Created attachment 498000 [details]
XML which reproduces the error.

Description of problem:
When converting files from DocBook 4.5 XML to PDF, I get a large number of "is not a character number in the document character set" errors from jade.  The same XML transforms fine using publican.

Version-Release number of selected component (if applicable):
docbook-utils-0.6.14-24.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. run docbook2pdf on the attached xml
  
Actual results:
jade:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk4.ent:42:30:E: "1D6C2" is not a character number in the document character set
jade:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk4.ent:43:30:E: "1D6C3" is not a character number in the document character set
jade:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk4.ent:44:30:E: "1D6D8" is not a character number in the document character set
.....

Expected results:
Nice PDF.

Comment 2 Michael Solberg 2011-05-10 13:14:29 UTC
See also http://bugs.gentoo.org/238785.

Comment 3 RHEL Program Management 2011-05-10 13:27:44 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Ondrej Vasik 2011-05-10 13:58:36 UTC
I don't think you should not use sgml toolchain here for that. See manpage of docbook2pdf- "For the moment, jw does not handle XML, but only SGML." 
Upstream of these tools is dead.

You probably want to use xml dtds toolchain (which you use in your docbook document) and you want to you use CLI tool should either use xmlto or some of it's backends(fop/dblatex/xmltex).

Anyway - there is a typo in /usr/share/sgml/docbook/xml-dtd-4.5-1.0-51.el6/catalog - 4.4 instead of 4.5 - causing this mass error report about missing entities. Reassigning there, but consider using xml docbook toolchain.

Comment 5 Michael Solberg 2011-05-10 14:18:51 UTC
I just tried "xmlto pdf" and it does work - thanks for the suggestion.

Comment 6 RHEL Program Management 2011-07-06 00:06:56 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 18 Ondrej Vasik 2017-03-27 07:11:40 UTC
Given the fact it missed many RHEL 6 releases and I fixed the issue in Fedora/RHEL 7 already, closing this one WONTFIX. RHEL 6 is now in production phase 3 and original issue was workarounded by using different tool for generating pdf file...