This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Problem using profiling stylesheets with xsltproc
- From: Daniel Veillard <veillard at redhat dot com>
- To: Bob Stayton <bobs at caldera dot com>
- Cc: John Himpel <jwhimpel at tseinc dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Fri, 10 Jan 2003 12:13:20 -0500
- Subject: Re: DOCBOOK-APPS: Problem using profiling stylesheets with xsltproc
- References: <1038709516.14401.13.camel@himpel.linux.bogus><20021202102049.E19271@caldera.com>
- Reply-to: veillard at redhat dot com
On Mon, Dec 02, 2002 at 10:20:49AM -0800, Bob Stayton wrote:
> On Sat, Nov 30, 2002 at 08:25:11PM -0600, John Himpel wrote:
> > xsltproc \
> > --catalogs \
> > --nonet \
> > --xinclude \
> > --output ./html/${1}.html \
> > --stringparam profile.condition FullRel \
[...]
> > runtime error: file
> > file:///usr/share/sgml/docbook/xsl-stylesheets/html/profile-docbook.xsl
> > line 219 element apply-templates
[...]
> > c) XSLTPROC has a problem
>
> I think it is a bug in xsltproc.
> The problem is that in the template named
> "head.keywords.content", there is a recursive
> call to the same template.
[...]
> Since this doesn't occur with the same template in
> docbook.xsl, it would appear that the difference is that
> profile-docbook.xsl is operating on a exslt nodeset. But I
> can't explain it any further than that.
Right, it was a bug in the XPath evaluation in that case.
The fix is now in CVS for the libxml2 module, will be in the next
release.
bug report:
http://bugzilla.gnome.org/show_bug.cgi?id=100271
Fix:
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-xml&who=veillard&date=explicit&mindate=2003-01-10%2012:05&maxdate=2003-01-10%2012:07&cvsroot=/cvs/gnome
thanks for the report !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/