Bug #12261: xml_parser_get_option doesn't get all option that xml_parser_set_option can set

From: Date: Thu, 19 Jul 2001 17:39:37 +0000
Subject: Bug #12261: xml_parser_get_option doesn't get all option that xml_parser_set_option can set
Groups: php.dev 
Request: Send a blank email to php-dev+get-60314@lists.php.net to get a copy of this message
From:             francisf@videotron.ca
Operating system: linux rh 6.2 2.2.19
PHP version:      4.0.6
PHP Bug Type:     *XML functions
Bug description:  xml_parser_get_option doesn't get all option that xml_parser_set_option can
set

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 bug report at: http://bugs.php.net/?id=12261&edit=1



Thread (1 message)

  • francisf at videotron dot ca
« previous php.dev (#60314) next »