This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem using profiling stylesheets with xsltproc


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]