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 61913 - mode is not displayes when using --profile option
mode is not displayes when using --profile option
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-10-07 23:42 UTC by bz
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bz 2001-10-07 23:42:15 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
Comment 2 Daniel Veillard 2001-10-30 19:12:58 UTC
I think this was fixed in the last 2 releases,

Daniel