cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Classes.inc Converter.inc DocBlockTags.inc XMLpackagePageParser.inc
/PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Thu, 23 Feb 2006 15:09:18 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Classes.inc Converter.inc DocBlockTags.inc XMLpackagePageParser.inc /PhpDocumentor/scripts create_package.xml.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38532@lists.php.net to get a copy of this message | ||
cellog Thu Feb 23 15:09:18 2006 UTC
Modified files:
/pear/PhpDocumentor package.xml package2.xml
/pear/PhpDocumentor/phpDocumentor Classes.inc Converter.inc
DocBlockTags.inc
XMLpackagePageParser.inc
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix Bug #6848: Reference Patch
minor CS fixes
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.13&r2=1.14&diff_format=u Index: pear/PhpDocumentor/package.xml diff -u pear/PhpDocumentor/package.xml:1.13 pear/PhpDocumentor/package.xml:1.14 --- pear/PhpDocumentor/package.xml:1.13 Thu Feb 23 05:48:29 2006 +++ pear/PhpDocumentor/package.xml Thu Feb 23 15:09:18 2006 @@ -68,7 +68,7 @@ </maintainers> <release> <version>1.3.0RC6</version> - <date>2006-02-22</date> + <date>2006-02-23</date> <license>PHP License</license> <state>beta</state> <notes>PHP 5 support and more, fix bugs @@ -153,6 +153,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> <deps> <dep type="php" rel="ge" version="4.1.0" optional="no"/> @@ -2351,7 +2352,7 @@ </release> <release> <version>1.3.0RC6</version> - <date>2006-02-22</date> + <date>2006-02-23</date> <license>PHP License</license> <state>beta</state> <notes>PHP 5 support and more, fix bugs @@ -2436,6 +2437,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> </release> </changelog> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.4&r2=1.5&diff_format=u Index: pear/PhpDocumentor/package2.xml diff -u pear/PhpDocumentor/package2.xml:1.4 pear/PhpDocumentor/package2.xml:1.5 --- pear/PhpDocumentor/package2.xml:1.4 Thu Feb 23 05:48:29 2006 +++ pear/PhpDocumentor/package2.xml Thu Feb 23 15:09:18 2006 @@ -63,8 +63,8 @@ <email>drewish@php.net</email> <active>yes</active> </developer> - <date>2006-02-22</date> - <time>23:47:08</time> + <date>2006-02-23</date> + <time>09:07:54</time> <version> <release>1.3.0RC6</release> <api>1.3.0</api> @@ -156,6 +156,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> <contents> <dir baseinstalldir="PhpDocumentor" name="/"> @@ -1591,6 +1592,11 @@ <channel>pear.php.net</channel> <min>1.1</min> </package> + <package> + <name>XML_Beautifier</name> + <channel>pear.php.net</channel> + <min>1.1</min> + </package> </optional> </dependencies> <phprelease> @@ -2532,7 +2538,7 @@ <release>beta</release> <api>beta</api> </stability> - <date>2006-02-22</date> + <date>2006-02-23</date> <license uri="http://www.php.net/license">PHP License</license> <notes>PHP 5 support and more, fix bugs @@ -2616,6 +2622,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> </release> </changelog> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Classes.inc?r1=1.4&r2=1.5&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Classes.inc diff -u pear/PhpDocumentor/phpDocumentor/Classes.inc:1.4 pear/PhpDocumentor/phpDocumentor/Classes.inc:1.5 --- pear/PhpDocumentor/phpDocumentor/Classes.inc:1.4 Wed Feb 22 21:40:40 2006 +++ pear/PhpDocumentor/phpDocumentor/Classes.inc Thu Feb 23 15:09:18 2006 @@ -22,7 +22,7 @@ * @package phpDocumentor * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Classes.inc,v 1.4 2006/02/22 21:40:40 pmjones Exp $ + * @version $Id: Classes.inc,v 1.5 2006/02/23 15:09:18 cellog Exp $ */ /** * Intermediate class parsing structure. @@ -43,7 +43,7 @@ * @package phpDocumentor * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Classes.inc,v 1.4 2006/02/22 21:40:40 pmjones Exp $ + * @version $Id: Classes.inc,v 1.5 2006/02/23 15:09:18 cellog Exp $ */ class Classes { @@ -965,13 +965,14 @@ } for($i=0; $i < count($this->classesbynamefile[$class]); $i++) { - $cls = $this->classesbyfile[$this->classesbynamefile[$class][$i]][$class]; - $pkg = $cls->getPackage(); + $cls = $this->classesbyfile[$this->classesbynamefile[$class][$i]][$class]; + $pkg = $cls->getPackage(); if ($pkg == $package) return $cls; } // addWarning(PDERROR_CLASS_NOT_IN_PACKAGE,$class,$package); - return false; + $flag = false; + return $flag; } /** http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converter.inc?r1=1.7&r2=1.8&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converter.inc:1.7 pear/PhpDocumentor/phpDocumentor/Converter.inc:1.8 --- pear/PhpDocumentor/phpDocumentor/Converter.inc:1.7 Wed Feb 22 23:02:04 2006 +++ pear/PhpDocumentor/phpDocumentor/Converter.inc Thu Feb 23 15:09:18 2006 @@ -22,7 +22,7 @@ * @package Converters * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.7 2006/02/22 23:02:04 cellog Exp $ + * @version $Id: Converter.inc,v 1.8 2006/02/23 15:09:18 cellog Exp $ */ /** * Smarty template files @@ -56,7 +56,7 @@ * @abstract * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.7 2006/02/22 23:02:04 cellog Exp $ + * @version $Id: Converter.inc,v 1.8 2006/02/23 15:09:18 cellog Exp $ */ class Converter { @@ -3419,6 +3419,7 @@ * <li>classname::constantname</li> (new 1.2.4) * <li>classname::$variablename</li> * <li>classname</li> + * <li>object classname</li> * <li>function functionname()</li> * <li>global $globalvarname</li> * <li>packagename#expr where expr is any of the above</li> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc?r1=1.1&r2=1.2&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc diff -u pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.1 pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.2 --- pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.1 Mon Oct 17 18:36:55 2005 +++ pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc Thu Feb 23 15:09:18 2006 @@ -32,7 +32,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserTag extends parserStringWithInlineTags { @@ -79,7 +79,8 @@ { list(,$val) = each($this->value); reset($this->value); - return $val->Convert($converter); + $a = $val->Convert($converter); + return $a; } $result = ''; foreach($this->value as $val) @@ -94,7 +95,8 @@ return $result; } else { - return $this->value->Convert($converter); + $a = $this->value->Convert($converter); + return $a; } } @@ -256,7 +258,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserReturnTag extends parserTag { @@ -348,7 +350,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserVarTag extends parserReturnTag { @@ -401,7 +403,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserLinkTag extends parserTag { @@ -437,7 +439,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserSeeTag extends parserLinkTag { http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc?r1=1.1&r2=1.2&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc diff -u pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.1 pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.2 --- pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.1 Mon Oct 17 18:36:57 2005 +++ pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc Thu Feb 23 15:09:18 2006 @@ -213,24 +213,26 @@ $this->p_vars['quote_data'] = ""; } if (!is_object($word)) $this->checkEventPush( $word, $pevent); - if ($word != "\"") + if (is_object($word)) { - if (is_object($word)) - { - $this->p_vars['quote_data'] = $word; - } - else + $this->p_vars['quote_data'] = $word; + } else + { + if ($word != "\"") { if (!is_object($this->p_vars['quote_data'])) - $this->p_vars['quote_data'] .= $word; + { + $this->p_vars['quote_data'] .= $word; + } } - } - if (!is_object($word)) - { if ($word == '>') { - if (is_object($this->p_vars['quote_data'])) $this->p_vars['quote_data'] = '{@id '.$this->p_vars['quote_data']->id.'}'; - addErrorDie(PDERROR_UNTERMINATED_ATTRIB,$this->curtag->name,$this->p_vars['attrname'],$this->p_vars['quote_data']); + if (is_object($this->p_vars['quote_data'])) + { + $this->p_vars['quote_data'] = '{@id '.$this->p_vars['quote_data']->id.'}'; + } + addErrorDie(PDERROR_UNTERMINATED_ATTRIB, + $this->curtag->name,$this->p_vars['attrname'],$this->p_vars['quote_data']); } if ($this->checkEventPop($word,$pevent)) { @@ -346,7 +348,7 @@ return; } } - if ($word == '<![CDATA[') + if (is_string($word) && $word == '<![CDATA[') { $this->curtag->startCData(); $this->p_flags['in_cdata'] = true; http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.13&r2=1.14&diff_format=u Index: pear/PhpDocumentor/scripts/create_package.xml.php diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.13 pear/PhpDocumentor/scripts/create_package.xml.php:1.14 --- pear/PhpDocumentor/scripts/create_package.xml.php:1.13 Thu Feb 23 05:48:30 2006 +++ pear/PhpDocumentor/scripts/create_package.xml.php Thu Feb 23 15:09:18 2006 @@ -88,6 +88,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch '; $version = '1.3.0RC6'; $options = array(
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.13&r2=1.14&diff_format=u Index: pear/PhpDocumentor/package.xml diff -u pear/PhpDocumentor/package.xml:1.13 pear/PhpDocumentor/package.xml:1.14 --- pear/PhpDocumentor/package.xml:1.13 Thu Feb 23 05:48:29 2006 +++ pear/PhpDocumentor/package.xml Thu Feb 23 15:09:18 2006 @@ -68,7 +68,7 @@ </maintainers> <release> <version>1.3.0RC6</version> - <date>2006-02-22</date> + <date>2006-02-23</date> <license>PHP License</license> <state>beta</state> <notes>PHP 5 support and more, fix bugs @@ -153,6 +153,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> <deps> <dep type="php" rel="ge" version="4.1.0" optional="no"/> @@ -2351,7 +2352,7 @@ </release> <release> <version>1.3.0RC6</version> - <date>2006-02-22</date> + <date>2006-02-23</date> <license>PHP License</license> <state>beta</state> <notes>PHP 5 support and more, fix bugs @@ -2436,6 +2437,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> </release> </changelog> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.4&r2=1.5&diff_format=u Index: pear/PhpDocumentor/package2.xml diff -u pear/PhpDocumentor/package2.xml:1.4 pear/PhpDocumentor/package2.xml:1.5 --- pear/PhpDocumentor/package2.xml:1.4 Thu Feb 23 05:48:29 2006 +++ pear/PhpDocumentor/package2.xml Thu Feb 23 15:09:18 2006 @@ -63,8 +63,8 @@ <email>drewish@php.net</email> <active>yes</active> </developer> - <date>2006-02-22</date> - <time>23:47:08</time> + <date>2006-02-23</date> + <time>09:07:54</time> <version> <release>1.3.0RC6</release> <api>1.3.0</api> @@ -156,6 +156,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> <contents> <dir baseinstalldir="PhpDocumentor" name="/"> @@ -1591,6 +1592,11 @@ <channel>pear.php.net</channel> <min>1.1</min> </package> + <package> + <name>XML_Beautifier</name> + <channel>pear.php.net</channel> + <min>1.1</min> + </package> </optional> </dependencies> <phprelease> @@ -2532,7 +2538,7 @@ <release>beta</release> <api>beta</api> </stability> - <date>2006-02-22</date> + <date>2006-02-23</date> <license uri="http://www.php.net/license">PHP License</license> <notes>PHP 5 support and more, fix bugs @@ -2616,6 +2622,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch </notes> </release> </changelog> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Classes.inc?r1=1.4&r2=1.5&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Classes.inc diff -u pear/PhpDocumentor/phpDocumentor/Classes.inc:1.4 pear/PhpDocumentor/phpDocumentor/Classes.inc:1.5 --- pear/PhpDocumentor/phpDocumentor/Classes.inc:1.4 Wed Feb 22 21:40:40 2006 +++ pear/PhpDocumentor/phpDocumentor/Classes.inc Thu Feb 23 15:09:18 2006 @@ -22,7 +22,7 @@ * @package phpDocumentor * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Classes.inc,v 1.4 2006/02/22 21:40:40 pmjones Exp $ + * @version $Id: Classes.inc,v 1.5 2006/02/23 15:09:18 cellog Exp $ */ /** * Intermediate class parsing structure. @@ -43,7 +43,7 @@ * @package phpDocumentor * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Classes.inc,v 1.4 2006/02/22 21:40:40 pmjones Exp $ + * @version $Id: Classes.inc,v 1.5 2006/02/23 15:09:18 cellog Exp $ */ class Classes { @@ -965,13 +965,14 @@ } for($i=0; $i < count($this->classesbynamefile[$class]); $i++) { - $cls = $this->classesbyfile[$this->classesbynamefile[$class][$i]][$class]; - $pkg = $cls->getPackage(); + $cls = $this->classesbyfile[$this->classesbynamefile[$class][$i]][$class]; + $pkg = $cls->getPackage(); if ($pkg == $package) return $cls; } // addWarning(PDERROR_CLASS_NOT_IN_PACKAGE,$class,$package); - return false; + $flag = false; + return $flag; } /** http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converter.inc?r1=1.7&r2=1.8&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converter.inc:1.7 pear/PhpDocumentor/phpDocumentor/Converter.inc:1.8 --- pear/PhpDocumentor/phpDocumentor/Converter.inc:1.7 Wed Feb 22 23:02:04 2006 +++ pear/PhpDocumentor/phpDocumentor/Converter.inc Thu Feb 23 15:09:18 2006 @@ -22,7 +22,7 @@ * @package Converters * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.7 2006/02/22 23:02:04 cellog Exp $ + * @version $Id: Converter.inc,v 1.8 2006/02/23 15:09:18 cellog Exp $ */ /** * Smarty template files @@ -56,7 +56,7 @@ * @abstract * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.7 2006/02/22 23:02:04 cellog Exp $ + * @version $Id: Converter.inc,v 1.8 2006/02/23 15:09:18 cellog Exp $ */ class Converter { @@ -3419,6 +3419,7 @@ * <li>classname::constantname</li> (new 1.2.4) * <li>classname::$variablename</li> * <li>classname</li> + * <li>object classname</li> * <li>function functionname()</li> * <li>global $globalvarname</li> * <li>packagename#expr where expr is any of the above</li> http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc?r1=1.1&r2=1.2&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc diff -u pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.1 pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.2 --- pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc:1.1 Mon Oct 17 18:36:55 2005 +++ pear/PhpDocumentor/phpDocumentor/DocBlockTags.inc Thu Feb 23 15:09:18 2006 @@ -32,7 +32,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserTag extends parserStringWithInlineTags { @@ -79,7 +79,8 @@ { list(,$val) = each($this->value); reset($this->value); - return $val->Convert($converter); + $a = $val->Convert($converter); + return $a; } $result = ''; foreach($this->value as $val) @@ -94,7 +95,8 @@ return $result; } else { - return $this->value->Convert($converter); + $a = $this->value->Convert($converter); + return $a; } } @@ -256,7 +258,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserReturnTag extends parserTag { @@ -348,7 +350,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserVarTag extends parserReturnTag { @@ -401,7 +403,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserLinkTag extends parserTag { @@ -437,7 +439,7 @@ * @subpackage DocBlockTags * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: DocBlockTags.inc,v 1.1 2005/10/17 18:36:55 jeichorn Exp $ + * @version $Id: DocBlockTags.inc,v 1.2 2006/02/23 15:09:18 cellog Exp $ */ class parserSeeTag extends parserLinkTag { http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc?r1=1.1&r2=1.2&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc diff -u pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.1 pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.2 --- pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc:1.1 Mon Oct 17 18:36:57 2005 +++ pear/PhpDocumentor/phpDocumentor/XMLpackagePageParser.inc Thu Feb 23 15:09:18 2006 @@ -213,24 +213,26 @@ $this->p_vars['quote_data'] = ""; } if (!is_object($word)) $this->checkEventPush( $word, $pevent); - if ($word != "\"") + if (is_object($word)) { - if (is_object($word)) - { - $this->p_vars['quote_data'] = $word; - } - else + $this->p_vars['quote_data'] = $word; + } else + { + if ($word != "\"") { if (!is_object($this->p_vars['quote_data'])) - $this->p_vars['quote_data'] .= $word; + { + $this->p_vars['quote_data'] .= $word; + } } - } - if (!is_object($word)) - { if ($word == '>') { - if (is_object($this->p_vars['quote_data'])) $this->p_vars['quote_data'] = '{@id '.$this->p_vars['quote_data']->id.'}'; - addErrorDie(PDERROR_UNTERMINATED_ATTRIB,$this->curtag->name,$this->p_vars['attrname'],$this->p_vars['quote_data']); + if (is_object($this->p_vars['quote_data'])) + { + $this->p_vars['quote_data'] = '{@id '.$this->p_vars['quote_data']->id.'}'; + } + addErrorDie(PDERROR_UNTERMINATED_ATTRIB, + $this->curtag->name,$this->p_vars['attrname'],$this->p_vars['quote_data']); } if ($this->checkEventPop($word,$pevent)) { @@ -346,7 +348,7 @@ return; } } - if ($word == '<![CDATA[') + if (is_string($word) && $word == '<![CDATA[') { $this->curtag->startCData(); $this->p_flags['in_cdata'] = true; http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.13&r2=1.14&diff_format=u Index: pear/PhpDocumentor/scripts/create_package.xml.php diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.13 pear/PhpDocumentor/scripts/create_package.xml.php:1.14 --- pear/PhpDocumentor/scripts/create_package.xml.php:1.13 Thu Feb 23 05:48:30 2006 +++ pear/PhpDocumentor/scripts/create_package.xml.php Thu Feb 23 15:09:18 2006 @@ -88,6 +88,7 @@ Bug #2288: Webfrontend ignores more than one dir in "Files to ignore" Bug #5011: PDF generation warning on uksort Bug #6305: array typehints break the parser + Bug #6848: Reference Patch '; $version = '1.3.0RC6'; $options = array(