Clarification needed

php.internals

Kamesh Jayachandran

22 years ago
Hi, I have seen that in php5.0/ext/xslt directory does not have any source except the test scripts whereas in php-4.3.8 I could find the files. In php5.0 there is one extra directory under ext by name xsl which does not exist in PHP4.3.8 Why is this change? Can someone clarify me on this? With regards Kamesh Jayachandran

Christian Stocker

22 years ago
On 16.7.2004 11:15 Uhr, Kamesh Jayachandran wrote:
> Hi, > I have seen that in php5.0/ext/xslt directory does not have any source > except the test scripts whereas in php-4.3.8 I could find the files. > In php5.0 there is one extra directory under ext by name xsl which does > not exist in PHP4.3.8
ext/xslt is based on sablotron ext/xsl is based on libxslt and the new libxml2 support in PHP 5.0 The API is incompatible, so we made an extension with a new name. The inner workings are also quite different. It seems that noone ported ext/xslt (the sablotron one) to PHP 5 until now. And it's in PECL now. chregu
> Why is this change? > Can someone clarify me on this? > > With regards > Kamesh Jayachandran >
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

Kamesh Jayachandran

22 years ago
Thanks On Fri, 16 Jul 2004 11:18:46 +0200, "Christian Stocker" <chregu@bitflux.ch> said:

Sterling Hughes

22 years ago
it wasn't ported because i don't want people using it anymore, they should be using ext/xsl, period. -sterling On Fri, 16 Jul 2004 11:18:46 +0200, Christian Stocker <chregu@bitflux.ch> wrote:

Christian Stocker

22 years ago
Hi Sterling On 16.7.2004 18:04 Uhr, Sterling Hughes wrote:
> it wasn't ported because i don't want people using it anymore, they > should be using ext/xsl, period.
I didn't blame you and there are good reasons to not to port it. But for BC, maybe someone will do it anyway... OTOH the switch to ext/xsl isn't that hard and you gain a lot of speed improvements ;) chregu
> > -sterling > > On Fri, 16 Jul 2004 11:18:46 +0200, Christian Stocker <chregu@bitflux.ch> wrote: > >> >>On 16.7.2004 11:15 Uhr, Kamesh Jayachandran wrote: >> >> >>>Hi, >>>I have seen that in php5.0/ext/xslt directory does not have any source >>>except the test scripts whereas in php-4.3.8 I could find the files. >>>In php5.0 there is one extra directory under ext by name xsl which does >>>not exist in PHP4.3.8 >> >>ext/xslt is based on sablotron >> >>ext/xsl is based on libxslt and the new libxml2 support in PHP 5.0 >> >>The API is incompatible, so we made an extension with a new name. The >>inner workings are also quite different. >> >>It seems that noone ported ext/xslt (the sablotron one) to PHP 5 until >>now. And it's in PECL now. >> >>chregu >> >> >>>Why is this change? >>>Can someone clarify me on this? >>> >>>With regards >>>Kamesh Jayachandran >>> >> >>-- >>christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich >>phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 >>http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB >> >> >> >>-- >>PHP Internals - PHP Runtime Development Mailing List >>To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

Adam Maccabee Trachtenberg

22 years ago
On Fri, 16 Jul 2004, Christian Stocker wrote:
> I didn't blame you and there are good reasons to not to port it. But for > BC, maybe someone will do it anyway... OTOH the switch to ext/xsl isn't > that hard and you gain a lot of speed improvements ;)
I think the only difficulties you'd run into is if you were using all sorts of custom scheme handlers. Then you'd need to port those. -adam
-- adam@trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!