ID:          47210
 Updated by:  paj...@php.net
 Reported By: queen dot zeal at gmail dot com
 Status:      Bogus
 Bug Type:    DOM XML related
 PHP Version: 5.2.8
 New Comment:

hint of the day: tidy


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

[2009-01-24 17:38:02] scott...@php.net

As Rob said, it's invalid HTML and not the goal of the extension, we're
not trying to be a web browser here.

If you think we should change it then we welcome you patches so we can
do this.

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

[2009-01-24 17:29:31] queen dot zeal at gmail dot com

My suggestion: use Gecko instead of libxml.

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

[2009-01-24 17:26:46] queen dot zeal at gmail dot com

Description:
------------
Re: http://bugs.php.net/bug.php?id=47209

I don't agree with the closure of the bug report and since it would
appear that I cannot make further posts since the report has been
closed, I'm making a new one.

Anyway, that the HTML in the above bug report is invalid doesn't mean
that it's processing can't be improved upon.  Dismissing this as even a
bug is rather like dismissing a buffer overflow in unserialize() because
the input is invalid.  In both cases, the processing of invalid input
needs improvement.  In this case, it's not a security issue, but that
doesn't mean it's not an issue, all the same.

Closing the bug report saying, simply, that it's invalid HTML, and
leaving it at that is rather like the Firefox developers saying "it's
invalid HTML" and leaving it at that.  Seriously, half the web contains
invalid HTML - browsers parse it, for the most part, without any
problems.  Maybe you think Firefox should just refuse to render any HTML
that's invalid?  If they did that, I can guarantee you that people would
begin to abandon Firefox left and right and Internet Explorer would
regain the market dominance they once had.



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


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

Reply via email to