Bug 54594 - keycombo template bug
keycombo template bug
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: docbook-style-xsl (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-13 15:19 EDT by Tim Waugh
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-06 07:23:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
keys.xsl (620 bytes, text/plain)
2001-10-13 15:19 EDT, Tim Waugh
no flags Details
keys.xml (203 bytes, text/plain)
2001-10-13 15:20 EDT, Tim Waugh
no flags Details

  None (edit)
Description Tim Waugh 2001-10-13 15:19:01 EDT
Description of Problem:
I don't know XSL well enough to know if this is really a bug, but it seems odd at 
the last.

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

How Reproducible:
100%

I would expect the output from the following attachments run as

xslt keys.xsl keys.xml

to be this:

<?xml version='1.0'>
C-h C-f

but instead it is

<?xml version=1.0'>
Ch Cf
Comment 1 Tim Waugh 2001-10-13 15:19:23 EDT
I mean xsltproc of course.
Comment 2 Tim Waugh 2001-10-13 15:19:48 EDT
Created attachment 34041 [details]
keys.xsl
Comment 3 Tim Waugh 2001-10-13 15:20:20 EDT
Created attachment 34042 [details]
keys.xml
Comment 4 Daniel Veillard 2001-10-14 13:33:06 EDT
No bug that I know of.
I have a really hard time trying to understand what (and how)
you're trying to achieve, keycombo is both the top node and
its first child element (bad design or error ?).To check how xsltproc evaluate
the stylesheet run with -v:

 xsltproc -v keys.xsl keys.xml

Daniel
Comment 5 Tim Waugh 2001-10-14 14:21:16 EDT
The XML comes straight out of DocBook, and the XSL from docbook-xsl-1.45.  
xsl:for-each is killing the template processing of the child keycombo nodes; is it 
meant to?
Comment 6 Tim Waugh 2001-10-14 17:52:33 EDT
Oh, you're right; I've learnt a little more XSL now.  This is a docbook-xsl bug.
(Hmm, no bugzilla component for that..)
Comment 7 Tim Waugh 2001-12-05 12:38:23 EST
Fixed in docbook-style-xsl-1.47-1.

Note You need to log in before you can comment on or make changes to this bug.