#12261 [Com]: xml_parser_get_option doesn't get all option that xml_parser_set_option can set
| From: | fucking-i1965 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:11:03 +0000 |
| Subject: | #12261 [Com]: xml_parser_get_option doesn't get all option that xml_parser_set_option can set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63051@lists.php.net to get a copy of this message | ||
ID: 12261
Comment by: fucking-i1965 at hotmail dot com
Reported By: francisf at videotron dot ca
Status: Bogus
Bug Type: XML related
Operating System: linux rh 6.2 2.2.19
PHP Version: 4.0.6
New Comment:
<a href=http://itall-wet-fucking-p.da.ru>i
fucking</a>
Previous Comments:
------------------------------------------------------------------------
[2002-08-17 02:04:56] kalowsky@php.net
You can but the only valid get_options are:
PHP_XML_OPTION_CASE_FOLDING
PHP_XML_OPTION_TARGET_ENCODING
marking this as bogus as it really isn't a bug.
------------------------------------------------------------------------
[2001-07-19 13:39:36] francisf at videotron dot ca
You can do
xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,0);
but
xml_parser_get_option($parser,XML_OPTION_SKIP_WHITE);
will give you
Warning: xml_parser_get_option: unknown option
SHouldn't we be able to get it if we can set it?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12261&edit=1