cvs: pear-core /PEAR XMLParser.php
| From: | Greg Beaver | Date: | Mon, 27 Mar 2006 04:39:03 +0000 |
| Subject: | cvs: pear-core /PEAR XMLParser.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4674@lists.php.net to get a copy of this message | ||
cellog Mon Mar 27 04:39:03 2006 UTC
Modified files:
/pear-core/PEAR XMLParser.php
Log:
remove all @ from PEAR/XMLParser.php
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/XMLParser.php?r1=1.11&r2=1.12&diff_format=u
Index: pear-core/PEAR/XMLParser.php
diff -u pear-core/PEAR/XMLParser.php:1.11 pear-core/PEAR/XMLParser.php:1.12
--- pear-core/PEAR/XMLParser.php:1.11 Fri Jan 6 04:47:36 2006
+++ pear-core/PEAR/XMLParser.php Mon Mar 27 04:39:03 2006
@@ -16,7 +16,7 @@
* @author Stephan Schmidt (original XML_Unserializer code)
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: XMLParser.php,v 1.11 2006/01/06 04:47:36 cellog Exp $
+ * @version CVS: $Id: XMLParser.php,v 1.12 2006/03/27 04:39:03 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -91,12 +91,12 @@
if (strpos($data, 'encoding="UTF-8"')) {
$data = utf8_decode($data);
}
- $xp = @xml_parser_create('ISO-8859-1');
+ $xp = xml_parser_create('ISO-8859-1');
} else {
if (strpos($data, 'encoding="UTF-8"')) {
- $xp = @xml_parser_create('UTF-8');
+ $xp = xml_parser_create('UTF-8');
} else {
- $xp = @xml_parser_create('ISO-8859-1');
+ $xp = xml_parser_create('ISO-8859-1');
}
}
xml_parser_set_option($xp, XML_OPTION_CASE_FOLDING, 0);