Hello,
I was wondering who was maintaing the dom xml extension.
I was just testing out some stuff.
-------------------------------------
$xml = new DomElement('asdf');
just doesn't work..
$xml = new DomElement('asdf');
$real_element = $xml->domelement('asdf');
works...
I looked into this.. Two reasons this is happening..
1)
The register_class_entry has "DomElement" not "domelement" (all the classes are
like that).
So that is why the constructor isn't being called.
2)
The constructor returns a zval instead of making the addintions to the current
object.
Im sure this happens for all of the classes in the extension.
------------------------------------------
I was also looking into creating domxml nodes to pass into userspace from my
extension. So i would need some exported functions (non static and PHPAPI for
windows).
zval *php_domobject_new(xmlNodePtr obj, int *found TSRMLS_DC)
I think just that one.. ill look into it some more..
I am going to patch it up so the functions are exported and the constructors
work. Ill post it here later.
- Brad
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php