#35247 [WFx]: setParameter not set if value contains single quote character ' on Windows
| From: | junkmail at eighteyes dot com | Date: | Fri, 18 Nov 2005 21:51:38 +0000 |
| Subject: | #35247 [WFx]: setParameter not set if value contains single quote character ' on Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88513@lists.php.net to get a copy of this message | ||
ID: 35247
User updated by: junkmail at eighteyes dot com
Reported By: junkmail at eighteyes dot com
Status: Wont fix
Bug Type: XSLT related
Operating System: Windows 2000
PHP Version: 5.0.5
New Comment:
Apparently the windows build of PHP5 has libxml2 and libxslt compiled
in, so it doesn't look like I can update those to a later version.
Previous Comments:
------------------------------------------------------------------------
[2005-11-18 22:39:21] junkmail at eighteyes dot com
I beg to differ. It is valid XML, and it doesn't generate a warning in
5.0.5. It's valid XML, so why should it generate a warning? And more
importantly to PHP, why does it work in Linux, but not in Windows?
I have not tried the CVS on windows since I don't have a non-production
machine I can test it on.
My Linux version of libxml2: 2.6.22
My Linux version of libxslt: 1.1.15
Windows version of libxml2: 2.6.11
Windows version of libxslt: 1.1.7
Will upgrade and try see if that solves the issue.
Cheers,
Balarama Bosch
------------------------------------------------------------------------
[2005-11-17 16:26:23] chregu@php.net
Right :) It generates a warning even in 5.0.x
-> Wont fix
------------------------------------------------------------------------
[2005-11-17 12:28:10] rrichards@php.net
Chregu, This shouldn't work on any platform if I am correct. In PHP 5.1
a warning is explicity issued as this case is specifically tested in XSL
extension:
Warning: XSLTProcessor::transformToXml(): Cannot create XPath
expression (string contains both quote and double-quotes)
------------------------------------------------------------------------
[2005-11-17 06:52:59] chregu@php.net
Can you also check the libxslt and libxml2 version? And if
possible upgrade to the latest releases.
------------------------------------------------------------------------
[2005-11-16 21:08:30] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35247
--
Edit this bug report at http://bugs.php.net/?id=35247&edit=1