Re: domxml test fails
| From: | Christian Stocker | Date: | Sun, 15 Jun 2003 22:03:47 +0000 |
| Subject: | Re: domxml test fails | ||
| References: | 1 2 3 4 5 6 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-141@lists.php.net to get a copy of this message | ||
On Mon, 16 Jun 2003, Kevin Waterson wrote:
> This one time, at band camp, "Rob Richards" <rrichards@ctindustries.net> wrote:
>
>
> > You cant have both loaded at the same time.
>
>
> ok, so I have my php configured --with-dom5 --with-xsl
> you can see my phpinfo here.
> http://203.109.184.88/php/examples/phpinfo.php
>
> When I access xmldoc test I get the following
> --TEST-- xmldoc() --SKIPIF-- skip domxml extension not available
>
> This coming from skipif.inc when extension_loaded('domxml') fails. The
> range of domxml functions do not show in get_defined_functions.
ext/domxml and ext/dom are technically 2 totally different extensions and
do not have the same API. You can't use your old domxml PHP functions with
the new dom5 (ext/dom) extension. Some methods are similar, some are new
and some are completely gone... the same goes for ext/xsl vs. xslt from
ext/domxml
If I were you, I'd wait some time until the dust around the new xml-stuff
in PHP5 settles a little bit ;)
chregu