#32914 [Bgs]: DOM serialization bug

2005-05-03 Thread chregu
 ID:   32914
 Updated by:   [EMAIL PROTECTED]
 Reported By:  pettrek at go2 dot pl
 Status:   Bogus
 Bug Type: DOM XML related
 Operating System: linux, windows
 PHP Version:  5.0.3
 New Comment:

No, you can't do it any faster than it parsing an XML document (libxml2
is tuned to the max to parse XML documents as fast as possible), any php
implementation can't be faster than that. 

And from a technical point of view, only DomDocument could be
serialized, the other classes are AFAIK not doable. But as said, you
wouldn't gain any speed anyway... 

If you really want to discuss that, you should use php-xml-dev... This
is not a discussion forum (and I broke that rule already with this
comment). But i doubt, you'll have more success there ;) 





Previous Comments:


[2005-05-02 18:40:41] pettrek at go2 dot pl

In my opinion it's a bug. Serialization could be even faster than
parsing XML document on each request.

You should consider fixing this.



[2005-05-02 17:53:39] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You need to transform your data to XML and load it again 
from XML (another mechanism won't be faster) 



[2005-05-02 17:49:33] pettrek at go2 dot pl

Description:

Serializing DOMDocument and other classes from DOM extension is not
possible.






-- 
Edit this bug report at http://bugs.php.net/?id=32914&edit=1


#32914 [Bgs]: DOM serialization bug

2005-05-02 Thread pettrek at go2 dot pl
 ID:   32914
 User updated by:  pettrek at go2 dot pl
 Reported By:  pettrek at go2 dot pl
 Status:   Bogus
 Bug Type: DOM XML related
 Operating System: linux, windows
 PHP Version:  5.0.3
 New Comment:

In my opinion it's a bug. Serialization could be even faster than
parsing XML document on each request.

You should consider fixing this.


Previous Comments:


[2005-05-02 17:53:39] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You need to transform your data to XML and load it again 
from XML (another mechanism won't be faster) 



[2005-05-02 17:49:33] pettrek at go2 dot pl

Description:

Serializing DOMDocument and other classes from DOM extension is not
possible.






-- 
Edit this bug report at http://bugs.php.net/?id=32914&edit=1