From: grest at interia dot pl
Operating system: WinXp
PHP version: 4.3.2
PHP Bug Type: DOM XML related
Bug description: DomXsltStylesheet->process and xsl:sort
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 bug report at http://bugs.php.net/?id=24373&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24373&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24373&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24373&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24373&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24373&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24373&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24373&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24373&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24373&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24373&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24373&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24373&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24373&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24373&r=gnused