#23856 [Opn->Bgs]: set attribute

From: Date: Wed, 28 May 2003 14:48:58 +0000
Subject: #23856 [Opn->Bgs]: set attribute
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40585@lists.php.net to get a copy of this message
ID: 23856 Updated by: rrichards@php.net Reported By: anton_kar at mail dot ru -Status: Open +Status: Bogus Bug Type: DOM XML related PHP Version: 4.3.1 New Comment: 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 See Bug #21213 Previous Comments: ------------------------------------------------------------------------ [2003-05-28 08:58:14] anton_kar at mail dot ru <pre> // Simplified Chinese, national standard character set. $doc = domxml_open_mem('<?xml version="1.0" encoding="gb2312" ?><data/>'); $root = $doc->document_element(); $node = $doc->create_element("para"); $root->append_child($node); $node->set_attribute("name","&#28814;&#24037;&#20316;"); echo ($root->dump_mem(true)); RESULT <?xml version="1.0" encoding="gb2312"?> <data> <para name="&amp;#28814;&amp;#24037;&amp;#20316;"/> </data> Can I set 'normal' value? </pre> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23856&edit=1

« previous php.bugs (#40585) next »