#35550 [Fbk->Opn]: SchemeHandlers in xslt does not return the complete rest in some cases
ID: 35550
User updated by: markus at emedia-solutions-wolf dot de
Reported By: markus at emedia-solutions-wolf dot de
-Status: Feedback
+Status: Open
Bug Type: XSLT related
Operating System: Debian/Linux
PHP Version: 4.4.1
New Comment:
Doesn't has PHP5 another XSLT processor instead of Sablotron?
Then it would by no means backward compatible and is useless for me at
the current state of development, since I need PHP4 support.
I've also checked the sablot version and I have 1.0.2 installed which
is the latest release for now.
Previous Comments:
------------------------------------------------------------------------
[2005-12-04 22:49:23] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-12-04 22:44:32] markus at emedia-solutions-wolf dot de
Description:
------------
I tried to use the scheme handlers from sablot but have an irritating
issue.
I'd like to create a cocoon compatible framework with php and therefore
some extensive xslt processing is required.
There could be some types of custom schemes in the xsl stylesheets like
'cocoon:/something' or 'cocoon://somethingelse'.
The first case (cocoon:/) works as expected, but the second part gives
me only '/' as rest instead of '/somethingelse' or even better
'//somethingelse'.
Reproduce code:
---------------
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="site-file"
select="'cocoon://abs-menulinks'"/>
<xsl:variable name="site" select="document($site-file)"/>
</xsl:stylesheet>
Expected result:
----------------
For my registered scheme handler I expected to get 'cocoon' as scheme
(this does work) and '//abs-menulinks' as rest.
Actual result:
--------------
The rest only contains the leading /
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35550&edit=1
Thread (6 messages)