Bug 156434 - missing 'simplexml_import_dom' in simplexml
Summary: missing 'simplexml_import_dom' in simplexml
Alias: None
Product: Fedora
Classification: Fedora
Component: php   
(Show other bugs)
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-30 03:27 UTC by Ricardo Ariel Gorosito
Modified: 2007-11-30 22:11 UTC (History)
0 users

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

Attachments (Terms of Use)

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
   Get a simplexml_element object from dom to allow for processing */

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.

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