ID:               33240
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jacob at jacobweber dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         XML related
 Operating System: Fedora Core 3
 PHP Version:      5.0.4
 New Comment:

I don't think we're suddenly gonna change it, even if the options
haven't been never documented. (perhaps those should be removed even,
since they don't seem to serve any purpose..)



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

[2005-06-07 16:18:10] [EMAIL PROTECTED]

I see. XML_OPTION_SKIP_WHITE skips values that constist of whitespace
characters only. I documented that but the original problem remains
(' & should become ' &, not '&).

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

[2005-06-06 23:41:00] [EMAIL PROTECTED]

Perhaps you misunderstood how it works?
Why do you think it should skip ALL whitespace? (given the fact it
never was documented to do that or anything else :)


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

[2005-06-06 17:06:50] [EMAIL PROTECTED]

Options were added to the CVS docs but the problem remains.
XML_OPTION_SKIP_WHITE skips almost nothing (e.g. <a> x x </a> is
processed as " x x ").

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

[2005-06-03 23:20:04] jacob at jacobweber dot com

I noticed that, so maybe they're not meant to be used. But one of the
two examples I posted is incorrect: it should skip the space all the
time or never.

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

[2005-06-03 23:13:42] [EMAIL PROTECTED]

Yes, it skips whitespace when you set it to 1.
Otherwise it will not skip it, it's left as is.
 
I could not find the documentation for these options
(on the page for xml_parser_set_option()):

XML_OPTION_SKIP_WHITE
XML_OPTION_SKIP_TAGSTART

even as they seem to have existed since PHP 3? :)


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/33240

-- 
Edit this bug report at http://bugs.php.net/?id=33240&edit=1

Reply via email to