After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622437 - xsltCompilePattern : failed to compile 'sect*/title'
xsltCompilePattern : failed to compile 'sect*/title'
Status: RESOLVED NOTABUG
Product: libxslt
Classification: Platform
Component: general
1.1.26
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-22 20:27 UTC by Andreas K. Huettel (dilfridge)
Modified: 2012-11-03 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas K. Huettel (dilfridge) 2010-06-22 20:27:16 UTC
This is a clone of 
https://bugs.gentoo.org/show_bug.cgi?id=296345
https://bugs.kde.org/show_bug.cgi?id=209415

In the KDE help system, compilation (using libxslt-1.1.26) fails with 

compilation error: file
/usr/share/apps/ksgmltools2/customization/htdig_index.xsl line 38 element
template
xsltCompilePattern : failed to compile 'sect*/title'
1:97:1:help://kcontrol/helpindex/index.docbook:  size = 5713
compilation error: file
/usr/share/apps/ksgmltools2/customization/htdig_index.xsl line 38 element
template xsltCompilePattern : failed to compile 'sect*/title'
2:158:1:help://kcontrol/filemanager/index.docbook:  size = 1946
compilation error: file
/usr/share/apps/ksgmltools2/customization/htdig_index.xsl line 38 element
template xsltCompilePattern : failed to compile 'sect*/title'
...

The htdig_index.xsl file can be found here:

http://websvn.kde.org/trunk/KDE/kdelibs/kdoctools/customization/htdig_index.xsl?view=markup

and has not been changed for ages, which makes me suspect that this is a libxslt problem.

For more info, please see the original bug reports linked above.
Comment 1 Nick Wellnhofer 2010-07-08 18:02:10 UTC
sect*/title

is an invalid XSLT pattern. Try something like

*[starts-with(local-name(), 'sect')]/title
Comment 2 Alexey Shildyakov 2010-07-08 20:23:03 UTC
With this change compilation help for all programs successfull:
...

169:20:1:help://kuser/index.docbook:  size = 8890
170:170:1:help://gwenview/index.docbook:  size = 1741
htdig: Run complete
htdig: 64 servers seen:
htdig:     ark:80 1 document
htdig:     blinken:80 1 document
...