|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-09 16:49 UTC] sniper@php.net
[2003-04-10 09:35 UTC] ed at avi dot ru
[2003-04-23 03:59 UTC] sniper@php.net
[2003-04-23 06:31 UTC] ed at avi dot ru
[2003-04-26 13:46 UTC] msopacua@php.net
[2003-04-28 07:50 UTC] ed at avi dot ru
[2003-04-28 09:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
The realisation of sorting seems to be buggy in xslt extension. Let's suppose that we have the following xml: <?xml version="1.0"?> <root> <node id="1"></node> <node id="4"></node> <node id="2"></node> <node id="3"></node> </root> We're processing these data via xslt_process(). Here's the part of xsl file: ... <xsl:template match="/root"> <xsl:for-each select="node"> <xsl:sort select="@id" data-type="number" /> ... </xsl:for-each> </xsl:template> ... It works ok. But if we remove data-type attribute from <xsl:sort> tag or change it to "text", the PHP crashes.