Re: [PHP-XML-DEV] domxml test fails

[email protected] (Christian Stocker)
Newsgroups php.xml.dev
Message-ID <[email protected]>
On Mon, 16 Jun 2003, Kevin Waterson wrote:

> This one time, at band camp, "Rob Richards" <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.