# Clarification needed

- Thread: https://externals.io/message/11279
- Original archive: https://news-web.php.net/php.internals/11279
- Started by Kamesh Jayachandran on 2004-07-16T09:15:12+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11279 — Kamesh Jayachandran — 2004-07-16T09:15:12+00:00

URL: https://externals.io/message/11279#11279

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

---

## #11280 — Christian Stocker — 2004-07-16T09:18:46+00:00

URL: https://externals.io/message/11279#11280 · In reply to: #11279

> 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

---

## #11281 — Kamesh Jayachandran — 2004-07-16T09:30:38+00:00

URL: https://externals.io/message/11279#11281 · In reply to: #11280

Thanks
On Fri, 16 Jul 2004 11:18:46 +0200, "Christian Stocker"
<chregu@bitflux.ch> said:
> 
> 
> 
> 
> > […]
> 
> 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
> 
> > […]
> 
> -- 
> 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

---

## #11288 — Sterling Hughes — 2004-07-16T16:04:21+00:00

URL: https://externals.io/message/11279#11288 · In reply to: #11280

it wasn't ported because i don't want people using it anymore, they
should be using ext/xsl, period.

-sterling


> 
> 
> 
> 
> > […]
> 
> 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
> 
> > […]
> 
> -- 
> 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

---

## #11289 — Christian Stocker — 2004-07-16T16:11:13+00:00

URL: https://externals.io/message/11279#11289 · In reply to: #11288

Hi Sterling



> 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
> 
> 
> 
> > […]
> 
> 

-- 
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

---

## #11297 — Adam Maccabee Trachtenberg — 2004-07-16T16:52:11+00:00

URL: https://externals.io/message/11279#11297 · In reply to: #11289

> 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!
