GNOME Bugzilla – Bug 622437
xsltCompilePattern : failed to compile 'sect*/title'
Last modified: 2012-11-03 15:34:40 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.
sect*/title is an invalid XSLT pattern. Try something like *[starts-with(local-name(), 'sect')]/title
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 ...