#24373 [Opn->Bgs]: DomXsltStylesheet->process and xsl:sort
| From: | rrichards@php.net | Date: | Sat, 28 Jun 2003 15:30:25 +0000 |
| Subject: | #24373 [Opn->Bgs]: DomXsltStylesheet->process and xsl:sort | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42675@lists.php.net to get a copy of this message | ||
ID: 24373
Updated by: rrichards@php.net
Reported By: grest at interia dot pl
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: WinXp
PHP Version: 4.3.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-06-28 08:10:07] grest at interia dot pl
Description:
------------
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:apply-templates>
<xsl:sort select="TITLE" data-type="text" lang="pl"/>
</xsl:apply-templates>
...
fragment of php script
...
$filename = "filmy.xsl";
$xmldoc = domxml_open_file("filmy.xml");
$xsldoc = domxml_xslt_stylesheet_file($filename);
$result = $xsldoc->process($xmldoc);
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24373&edit=1