View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000086 | Xdebug | public | 2004-08-06 05:08 | 2004-08-06 07:59 | |
Reporter | altstadt | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | open | ||
Summary | 0000086: 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. | ||||
Additional Information | <?php header("Content-Type: application/xhtml+xml; charset=UTF-8"); echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n <html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\"> <head>
</head> <body>
// this will cause a dump which is not formatted properly " </body> </html> ?> | ||||
Tags | No tags attached. | ||||
Operating System | Gentoo Linux at current emerge system/world | ||||
PHP Version | 4.3.8-dev | ||||
|
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. |
|
Fixed in the 1.3 branch of Xdebug (XDEBUG_1_3). This was already fixed for Xdebug 2.0-dev (HEAD). |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-08-06 05:08 | altstadt | New Issue | |
2004-08-06 06:21 | altstadt | Note Added: 0000176 | |
2004-08-06 07:59 | derick | Status | new => closed |
2004-08-06 07:59 | derick | Note Added: 0000178 | |
2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) |
2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) |