#21213 [Fbk->NoF]: invalid entities handling into set_attribute() and set_content()

From: Date: Wed, 09 Apr 2003 11:36:24 +0000
Subject: #21213 [Fbk->NoF]: invalid entities handling into set_attribute() and set_content()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37422@lists.php.net to get a copy of this message
ID: 21213 Updated by: sniper@php.net Reported By: flying at dom dot natm dot ru -Status: Feedback +Status: No Feedback Bug Type: DOM XML related Operating System: All PHP Version: 4.3.0RC4 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-04-03 09:49:32] chregu@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip set_attribute_node is now in CVS, can you check it, if it's now possible, what you intend to do? ------------------------------------------------------------------------ [2003-01-03 09:35:07] chregu@php.net As said before, we need set_attribute_node($attrNode) and append_child() et al. working in attribute Nodes, then it should work. Don't know, when I have the time to do it, if someone else wants to take over this part, feel free ;) chregu ------------------------------------------------------------------------ [2003-01-03 04:06:32] flying at dom dot natm dot ru Sorry for summary changing - its Mozilla bug :) ------------------------------------------------------------------------ [2003-01-03 04:01:49] flying at dom dot natm dot ru Yes, i agree with you in this point, but it also means, that you should provide a way to parse given text value and build NodeList of Text and EntityReference nodes. libxml2 already have such function. ------------------------------------------------------------------------ [2003-01-01 14:59:56] chregu@php.net Hi I will most certainly not add this options, since i prefer to stick to the w3c standard at http://www.zvon.org/xxl/DOM2reference/Output/interfaces/Element.html#setAttribute And in my interpretation of this, php's domxml behaves correctly. The only thing missing is setAttributeNode, which I maybe will implement, if I find some time. If there is setAttributeNode, then you can use the way the w3c suggests. chregu ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21213 -- Edit this bug report at http://bugs.php.net/?id=21213&edit=1

« previous php.bugs (#37422) next »