Description of problem: The usefull 'simplexml_import_dom' function does not exist because SimpleXML has been built (in main php package) without DOM (it is in php-xml) see in ext/simplexml/simplexml.c : #ifdef HAVE_DOM /* {{{ proto simplemxml_element simplexml_import_dom(domNode node [, string class_name]) Get a simplexml_element object from dom to allow for processing */ PHP_FUNCTION(simplexml_import_dom) { simplexml need to be moved to php-xml?
Hmmm, good catch. It may be simpler to move *just that function* to the dom extension, if that's possible; I'll have a look. Making simplexml shared doesn't really solve the issue, since then stuff which relies on simplexml being linked statically doesn't work, e.g. the SimpleXMLIterator in spl.
It doesn't look like that function actually relies on symbols from dom.so so it should be OK to build into the php binaries.
Can you try out the php-5.0.4-9 package in Raw Hide?
Should be fixed in FC4 final.