Bug #10767: CDATA sections not type'd or content'd
| From: | gregory at 9voltnet dot com | Date: | Wed, 09 May 2001 21:42:40 +0000 |
| Subject: | Bug #10767: CDATA sections not type'd or content'd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54570@lists.php.net to get a copy of this message | ||
From: gregory@9voltnet.com
Operating system: Linux RH 6.2
PHP version: 4.0.5
PHP Bug Type: DOM XML related
Bug description: CDATA sections not type'd or content'd
well, using the dom and libxml 2.3.8 (and libxml 1 was required in 4.0.4pl1 too) it (getting CDATA
content) worked in 4.0.4pl1.
the content attribute of the node used to contain all the data in a CDATA section of an XML doc.
now, the content attribute in 4.0.5 with libxml2 is empty. completely. even more, the type
attribute it claims the element containing the CDATA is a 1 (?_ELEMENT i belive) as opposed to 3 or
4 (?_CDATA_SECTION i believe). regardless, the content is empty and seemingly not recoverable.
this appears in both the standard node querying as well as XPath.
yuck.
--
Edit Bug report at: http://bugs.php.net/?id=10767&edit=1