ID: 24373
Updated by: [EMAIL PROTECTED]
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