Bug 72239

Summary: xsltproc finds a loop in the docbook xsl stylesheets for tables
Product: [Retired] Red Hat Linux Reporter: Bob Dowling <rjd4>
Component: docbook-style-xslAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
URL: http://www-uxsup.csx.cam.ac.uk/~rjd4/bugs/db2/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-22 11:03:07 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 Bob Dowling 2002-08-22 10:30:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
A valid (at least I think it's valid) XML DocBook file (table.xml at the URL
above) causes xsltproc to fail, claiming to find a loop in the style sheets it
is processing.

I have updated the relevant packages from the 7.3 releases to the ones that ship
with the current second beta.  Exact versions are in the typescript.

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


How reproducible:
Always

Steps to Reproduce:
1.Copy table.xml and Makefile from the URL given.
2.make table.fo

	

Actual Results:  System fails with error message:
 runtime error: file  /usr/share/sgml/docbook/xsl-stylesheets/fo/table.xsl line
911 element text
 xsltApplyOneTemplate: loop found ???
 try increasing xsltMaxDepth (--maxdepth)

Expected Results:  I expected a valid FO file.

Additional info:

I believe the XML file is valid because I use the emacs PSGML XML mode to create
it using it to prompt for valid elements.

Comment 1 Bob Dowling 2002-08-22 11:03:02 UTC
Scratch this.  Error lay between keyboard and seat.
(My tgroup doesn't carry the required cols attribute.  When I insert it
everything is fine)
Sorry for wasting your time.

Comment 2 Tim Waugh 2002-08-22 11:09:37 UTC
You can use 'xmllint -valid' to check validity. 
 
Guess that it works when you correct that, and closing.