XML_Tree bug fix
| From: | Blair Robertson | Date: | Fri, 02 May 2003 03:46:35 +0000 |
| Subject: | XML_Tree bug fix | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15763@lists.php.net to get a copy of this message | ||
Hi there,
I sent this
http://marc.theaimsgroup.com/?l=pear-dev&m=104872687731346&w=2
to the list a while ago but I think people probably got put off looking
into it because of the length of the message, so I'll try for an
abbreviated version.
Basically there are two aims for this patch on the current
CVS version :
1. $node->content *always* returns the unescaped contents
2. $node->get() returns attributes that are have double quotes escaped.
Point 1 basically involves moving the call to _xml_entities() - which
escapes the contents of the node - from the setContent() fn to the get() fn.
While point 2 involves adding a simple str_replace in get()
Thoughts ?
BCR