<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=XML_Util</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/15467" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/15467">
      <title>XML_Util: Feature/Change Request 15467 [Open] CDATA sections and blank nodes</title>
      <link>http://pear.php.net/bugs/15467</link>
      <content:encoded><![CDATA[<pre>XML_Util Feature/Change Request
Reported by mprowler
2008-12-30T22:35:51+00:00
PHP: 5.2.8 OS: Linux 2.6.26 Package Version: 1.2.1

Description:
------------
I am using the XML_Serializer package to output XML data to an Adobe Flex 3 application, and have CDATA sections turned on. However, when processing a blank string, XML_Util outputs a self-closing node (i.e. &lt;node/&gt;).  I'm sure this is most likely the correct behavior, however Flex's XML handling will not utilize CDATA sections unless they are in the original XML.  For this purpose, it would be great to have an option to always output CDATA sections regardless of the value being empty.

To accomplish this for now, I have modified XML/Util.php, line 654, to read:
if ($replaceEntities!=XML_UTIL_CDATA_SECTION &amp;&amp; (!isset($tag['content']) || (string)$tag['content'] == '')) {

Again, it would be great to have an option for this (which could then be added to XML_Serializer) in case it's needed by someone else in the future.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Util Feature/Change Request
Reported by mprowler
2008-12-30T22:35:51+00:00
PHP: 5.2.8 OS: Linux 2.6.26 Package Version: 1.2.1

Description:
------------
I am using the XML_Serializer package to output XML data to an Adobe Flex 3 application, and have CDATA sections turned on. However, when processing a blank string, XML_Util outputs a self-closing node (i.e. &lt;node/&gt;).  I'm sure this is most likely the correct behavior, however Flex's XML handling will not utilize CDATA sections unless they are in the original XML.  For this purpose, it would be great to have an option to always output CDATA sections regardless of the value being empty.

To accomplish this for now, I have modified XML/Util.php, line 654, to read:
if ($replaceEntities!=XML_UTIL_CDATA_SECTION &amp;&amp; (!isset($tag['content']) || (string)$tag['content'] == '')) {

Again, it would be great to have an option for this (which could then be added to XML_Serializer) in case it's needed by someone else in the future.</pre>]]></description>
      <dc:date>2008-12-30T22:35:51+00:00</dc:date>
      <dc:creator>m &amp;#x64;&amp;#111;&amp;#x74; prowler &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_Util Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
