For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > #12261 [Opn->Csd]: xml_parser_get_option doesn't get all option that xml_parser_se









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #12261 [Opn->Csd]: xml_parser_get_option doesn't get all option that xml_parser_se
vrana@php.net

2005-08-29, 6:56 pm

ID: 12261
Updated by: vrana@php.net
Reported By: francisf at videotron dot ca
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: linux rh 6.2 2.2.19
PHP Version: 4.0.6
New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2005-08-27 13:09:40] betz@php.net

...should be documented then

------------------------------------------------------------------------

[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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com