note 78429 rejected from function.xml-parser-set-option by cmb
| From: | cmb@php.net | Date: | Mon, 08 Oct 2018 17:54:00 +0000 |
| Subject: | note 78429 rejected from function.xml-parser-set-option by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209395@lists.php.net to get a copy of this message | ||
Note Submitter: maschoen at pobox dot com
----
I'm a little confused about using xml_parser_set_option and xml_parser_get_option with
XML_OPTION_SKIP_WHITE and XML_OPTION_SKIP_TAGSTART.
Looking at the source code, ...set_option() accepts both ...SKIP_WHITE and ...SKIP_TAGSTART, and
sets a program variables. On the other hand, ...get_option() returns an error for both. I'm
not sure of the code actually uses the variables properly, although it does reference the set
variables. This does look like an oversite.