GNOME Bugzilla – Bug 61913
mode is not displayes when using --profile option
Last modified: 2009-08-15 18:40:50 UTC
The Stylesheet producig the bug =============================== <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:template match="/"> <xsl:apply-templates select="." mode="bug"/> </xsl:template> <xsl:template match="*" mode="bug"> <xsl:text>work's fine, but the mode is not displayed in --profile mode</xsl:text> </xsl:template> </xsl:stylesheet> # xsltproc --profile test.xslt test.xml number match name mode Calls Tot 100us Avg 0 * 1 1 1 1 / 1 0 0 Total 2 1 <?xml version="1.0"?> work's fine, but the mode is not displayed in --profile mode Expected Result: ================= number match name mode Calls Tot 100us Avg 0 * !!! bugs !!! 1 1 1 1 / 1 0 0 Total 2 1 <?xml version="1.0"?> work's fine, but the mode is not displayed in --profile mode ------------------------- Bernhard
Okay this was relatively easy, the fix is in CVS: http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=10%2F08%2F01+05%3A28&maxdate=10%2F08%2F01+05%3A30&cvsroot=%2Fcvs%2Fgnome thanks for the report, Daniel
I think this was fixed in the last 2 releases, Daniel