[PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
Hi,

I'm testing the last php5/ze2 snapshot for a future PHP application. I've
a two line script[1] with domxml wich fail with ZE2 but succeed with ZE1.

I know that ZE2 is in pre-alpha cycle (and domxml on a experimental state)
and I'm not crying to have something functionnal but I've some questions :

- is it a bug of a "should work but it is still experimental so it may be
a bug" ? (and then I fill a bug in the bug database)

- or is it a bug of a "we are working on port to ZE2" state ? (if yes :
should I fill the bug in the database ?)

- or simply a "not compatible and no work planned to make it compatible" ?


This answer will help me to planify the tests and evolution of my
application.

Thanks.

[1] script tested :
create_element('test'))?'succeed':'failed' ;

-- 
Eric




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
On Fri, 14 Mar 2003 11:37:05 +1000, Tom Rogers wrote:

> I think that should be  1,0

You're right, sorry

I've made an error writing this post ("." on the numeric pad output "," in
the news client since I'm french) but the script was tested with the correct
value ('1.0' with a dot).

So ... my probleme remain :)

-- 
Eric

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] SimpleXML and documentation

2004-01-02 Thread Eric Daspet
Hi

I'm working on a PHP5 project with some simple XML. I've seen examples 
of SimpleXML in CVS ("tests" and "examples" directories) but cannot find 
any real documentation.
Is there any docs somewhere ? where ?

If not, does someone can answer a few questions ?
- how do I add an element ?
- can I change the text content of an element ? if yes, how can I deal 
with something like " text1  text2 " ?
- can I delete elements ? attributes ?
- how do I deal with namespaces ? I've seen a "register_ns" method but 
do not know if registration is inherited, and do not know how to use 
namespaces after registration ($element->ns:subelement is not a valid 
PHP syntax)
- I've seen many times that simpleXML is limited to 3 levels of nesting 
but there is a phpt with 4 levels. Is there a limitation ? if yes, which 
one ?

thanks per advance for all answers.
--
Eric Daspet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php