Re: [PHP-XML-DEV] domxml002 test fails
[email protected] ("Rob Richards")
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
From: Kevin Waterson > does the --with-xsl replace the need for --with-dom-xslt? Yes. --with xsl is still under development, so there currently is only a limited set of functionality. --with-xsl does not work with the old DOM extension. I currently works with the new dom and simplexml only (returning a domDocument upon transformation). > anyway, I configure --with-dom5 and --with-xsl and I am back to > Fatal error: Call to undefined function: domxml_new_xmldoc() > and the domxml functions do not show in get_defined_functions The new dom extension is not BC. It goes by (including naming conventions of methods) the W3 specs (http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html). I am going to try to get a small doc or tuturial together this week. To create a new document, the easiest way is to just call: $mydoc = new domDocument(); See the /samples and /tests directory in the dom directory. They include a bunch of functionality including catching exceptions, which are thrown for certain conditions (throws domException) > if I configure --with-dom=/usr and --with-dom5 --with-xsl I get > [Sun Jun 15 11:07:32 2003] [notice] child pid 2099 exit signal Segmentation fault (11) > but, the domxml functions do appear in get_defined_functions() You cant have both loaded at the same time. Rob