Bug 156434

Summary: missing 'simplexml_import_dom' in simplexml
Product: [Fedora] Fedora Reporter: Ricardo Ariel Gorosito <rgorosito>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.4-9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-21 15:34:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ricardo Ariel Gorosito 2005-04-30 03:27:25 UTC
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?

Comment 1 Joe Orton 2005-04-30 10:16:23 UTC
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.


Comment 2 Joe Orton 2005-05-03 15:36:37 UTC
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.

Comment 3 Joe Orton 2005-05-05 08:15:14 UTC
Can you try out the php-5.0.4-9 package in Raw Hide?

Comment 4 Joe Orton 2005-06-21 15:34:53 UTC
Should be fixed in FC4 final.