|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24373 DomXsltStylesheet->process and xsl:sort
Submitted: 2003-06-28 08:10 UTC Modified: 2003-06-28 10:30 UTC
From: grest at interia dot pl Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.3.2 OS: WinXp
Private report: No CVE-ID: None
 [2003-06-28 08:10 UTC] grest at interia dot pl
There is a problem, with 
<xsl:sort select="TITLE"  data-type="text" lang="pl"/>.
The nodes with Polish special character aren`t sorting correctly. They are placed at the end of list.
It seems, that fucntion DomXsltStylesheet->process doesn`t work good.

Reproduce code:
a piece of xsl file: filmy.xsl
   <xsl:sort select="TITLE"  data-type="text" lang="pl"/>
fragment of php script
$filename = "filmy.xsl";
$xmldoc = domxml_open_file("filmy.xml");
$xsldoc = domxml_xslt_stylesheet_file($filename);
$result =  $xsldoc->process($xmldoc);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-28 10:30 UTC]
This is/was a known libxslt issue. You can try version 1.0.24 or higher as xsl:sort with lang attribute was worked on, but I cant say for sure if this will solve your problem.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jun 13 21:01:24 2021 UTC