WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
68701
XSLT is not working for more than 15 sorts
https://bugs.webkit.org/show_bug.cgi?id=68701
Summary
XSLT is not working for more than 15 sorts
Thieu Pham
Reported
2011-09-23 09:18:50 PDT
To reproduce this, please go to
http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=tryxsl_sort
and edit the xsl by adding more <xsl:sort> on the right. It stops working when you have at least 16 sorts. Try the following list: <xsl:sort select="artist"/> <xsl:sort select="title"/> <xsl:sort select="country"/> <xsl:sort select="price"/> <xsl:sort select="year"/> <xsl:sort select="genre"/> <xsl:sort select="album"/> <xsl:sort select="category"/> <xsl:sort select="comments"/> <xsl:sort select="composer"/> <xsl:sort select="grouping"/> <xsl:sort select="dateAdded"/> <xsl:sort select="dateModified"/> <xsl:sort select="releaseDate"/> <xsl:sort select="bitRate"/> <xsl:sort select="sampleRate"/> Please note that this works in Firefox and Internet Explorer which do not use WebKit. Thanks!
Attachments
test case reduction xml
(128 bytes, text/xml)
2012-04-27 01:26 PDT
,
Jian Zhang
no flags
Details
test case reduction xsl
(893 bytes, text/xml)
2012-04-27 01:26 PDT
,
Jian Zhang
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2011-09-27 17:29:14 PDT
Confirmed on ToT. Qt does not have the issue so it is in our libXSLT implementation.
Jian Zhang
Comment 2
2012-04-27 01:26:09 PDT
Created
attachment 139146
[details]
test case reduction xml
Jian Zhang
Comment 3
2012-04-27 01:26:48 PDT
Created
attachment 139147
[details]
test case reduction xsl
Jian Zhang
Comment 4
2012-04-27 01:39:05 PDT
XSLT will work if removing one line <xsl:sort select="item"/> in more-than-15-sorts.xsl
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug