[xdebug-dev] Bug 0000086: xdebug produces output that is not xhtml 1.1 valid

From: <xdebug-dev[@]lists.xdebug.org>
Date: Fri, 6 Aug 2004 08:59:33 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000086
======================================================================
Reporter: altstadt
Handler:
======================================================================
Project: Xdebug
Bug ID: 86
Category: Debug client (console)
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Operating System: Gentoo Linux at current emerge system/world
PHP Version: 4.3.8-dev
Xdebug Version: 1.3.0
======================================================================
Date Submitted: 2004-08-06 06:08 CEST
Last Modified: 2004-08-06 08:59 CEST
======================================================================
Summary: xdebug produces output that is not xhtml 1.1 valid
Description:
While testing a PHP module, I provided incorrect input to a function which
caused a dump. The information dumped was not formatted correctly, missing
a </td> tag. Since I was using Firefox 0.9.1 as a browser, it choked on the
generated xhtml and displayed a page that said:

XML Parsing Error: mismatched tag. Expected: </td>. Location:
http://devel/xdebug_bug.php Line Number 22, Column 3:</table> --^

A simple PHP script to show the problem follows in the Additional
Information section.
======================================================================

----------------------------------------------------------------------
 altstadt - 2004-08-06 07:21 CEST
----------------------------------------------------------------------
Sorry, I should have mentioned that the browser is happy if the page is
served up with:

header("Content-Type: text/html; charset=UTF-8");

although the xhtml is still broken. It's just that the browser is more
forgiving.

----------------------------------------------------------------------
 derick - 2004-08-06 08:59 CEST
----------------------------------------------------------------------
Fixed in the 1.3 branch of Xdebug (XDEBUG_1_3). This was already fixed for
Xdebug 2.0-dev (HEAD).

Bug History
Date Modified Username Field Change
======================================================================
2004-08-06 06:08altstadt New Bug
2004-08-06 07:21altstadt Bugnote Added: 0000176
2004-08-06 08:59derick Bugnote Added: 0000178
2004-08-06 08:59derick Status new => closed
======================================================================
Received on Fri Aug 06 2004 - 08:59:34 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST