Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 65521

Summary: openjade ignores sgml (docbook) id tags for output files
Product: [Retired] Red Hat Linux Reporter: Dirk Czirpka <dirk>
Component: openjadeAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-26 20:00:41 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:

Description Dirk Czirpka 2002-05-26 20:00:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
If I convert a sgml-Docbbook file to html, the id-tag for the document is
ignored. With RH 7.2 the id tag is used for the output filename. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Write an docbbook "book"
2. Define for instance "<book id='template' lang="de">"
3. docbook2html <sgml-file>
4. Look at the generated output
5. under RH 7.2 there is an file "template.html"
6. under RH 7.3 there is only the standard file "book1.html"
	

Actual Results:  output filename is "book1.html"

Expected Results:  output filename "template.html"

Additional info:

other id tags, for instance for chapters, are also ignored
under RH 7.2 these tags were also used for output filenames

Comment 1 Tim Waugh 2002-05-27 07:41:51 UTC
If you need that feature (%use-id-as-filename%), you need to enable it via a 
custom stylesheet.  See http://cyberelk.net/tim/selfdocbook/ for an example of 
how to do that. 
 
This feature is disabled by default since it is a security risk when used on 
untrusted documents.