Menu

#55 RDFUtil::writeHtmlTable Output Not Well Formed XML

Current_SVN
open
nobody
5
2008-03-31
2008-03-31
No

RDFUtil.php function writeHtmlTable line 180:

echo INDENTATION . '<tr bgcolor="' . HTML_TABLE_HEADER_COLOR . '">' . LINEFEED . INDENTATION . INDENTATION . '<td td width="68%" colspan="3">';

The <td> tag is not well-formed: <td td (<td).

Then, at line 204:

echo INDENTATION . '<tr bgcolor="' . HTML_TABLE_HEADER_COLOR . '">' . LINEFEED . INDENTATION . INDENTATION . '<td width="4%"><p align=center><b>No.</b></p></td>' . LINEFEED . INDENTATION . INDENTATION . '<td width="32%"><p><b>Subject</b></p></td>' . LINEFEED . INDENTATION . INDENTATION . '<td width="32%"><p><b>Predicate</b></p></td>' . LINEFEED . INDENTATION . INDENTATION . '<td width="32%"><p><b>Object</b></p></td>' . LINEFEED . INDENTATION . '</tr>' . LINEFEED;

Paragraph alignment attribute value needs to be quoted <p align=center (<p align="center"). Same again at line 210, and also here there is an uppercase, unclosed tag: <BR> (<br/>).

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.