Bug 156434 - missing 'simplexml_import_dom' in simplexml
missing 'simplexml_import_dom' in simplexml
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-29 23:27 EDT by Ricardo Ariel Gorosito
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 5.0.4-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-21 11:34:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ricardo Ariel Gorosito 2005-04-29 23:27:25 EDT
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 06:16:23 EDT
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 11:36:37 EDT
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 04:15:14 EDT
Can you try out the php-5.0.4-9 package in Raw Hide?
Comment 4 Joe Orton 2005-06-21 11:34:53 EDT
Should be fixed in FC4 final.

Note You need to log in before you can comment on or make changes to this bug.