#35550 [Opn->Fbk]: SchemeHandlers in xslt does not return the complete rest in some cases
ID: 35550
Updated by: tony2001@php.net
Reported By: markus at emedia-solutions-wolf dot de
-Status: Open
+Status: Feedback
Bug Type: XSLT related
Operating System: Debian/Linux
PHP Version: 4.4.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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)