Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to solve this warning Type Attribute (cellpadding) is obsolete. Its use is discouraged in HTML5 documents
    primarykey
    data
    text
    <p>I am developing web application using tapestry. I am testing my application using junit test suite and generating war file and html reports, using ant build. In my html report files, I have the following warnings.</p> <pre><code>Multiple annotations found at this line: - Attribute (width) is obsolete. Its use is discouraged in HTML5 documents. - Attribute (cellpadding) is obsolete. Its use is discouraged in HTML5 documents. - Undefined attribute value (0). - Attribute (language) is obsolete. Its use is discouraged in HTML5 documents. </code></pre> <p>Following is my test and report generating code.</p> <pre><code>&lt;target name="test" depends="compile" description="Running Test Suite"&gt; &lt;mkdir dir="${target.data.dir}"/&gt; &lt;mkdir dir="${target.htmlreports.dir}"/&gt; &lt;junit fork="no" haltonfailure="no" showoutput="yes" printsummary="true" &gt; &lt;test name="${junit.class.name}" todir="${target.data.dir}"/&gt; &lt;formatter type="brief" usefile="false"/&gt; &lt;classpath refid="classpath.test"/&gt; &lt;sysproperty key="ant.home" value="${ant.home}"/&gt; &lt;formatter type="xml"/&gt; &lt;/junit&gt; &lt;junitreport todir="${target.htmlreports.dir}"&gt; &lt;fileset dir="${target.data.dir}"&gt; &lt;include name="TEST-*.xml"/&gt; &lt;/fileset&gt; &lt;report format="frames" todir="${target.htmlreports.dir}"/&gt; &lt;/junitreport&gt; &lt;/target&gt; </code></pre> <p>This is my one of the html report file.</p> <pre><code>&lt;html xmlns:lxslt="http://xml.apache.org/xslt" xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"&gt; &lt;head&gt; &lt;META http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;title&gt;Unit Test Results: Summary&lt;/title&gt; &lt;link rel="stylesheet" type="text/css" title="Style" href="stylesheet.css"&gt; &lt;/head&gt; &lt;body onload="open('allclasses-frame.html','classListFrame')"&gt; &lt;h1&gt;Unit Test Results.&lt;/h1&gt; &lt;table width="100%"&gt; &lt;tr&gt; &lt;td align="left"&gt;&lt;/td&gt;&lt;td align="right"&gt;Designed for use with &lt;a href="http://www.junit.org/"&gt;JUnit&lt;/a&gt; and &lt;a href="http://ant.apache.org/"&gt;Ant&lt;/a&gt;.&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;hr size="1"&gt; &lt;h2&gt;Summary&lt;/h2&gt; &lt;table class="details" border="0" cellpadding="5" cellspacing="2" width="95%"&gt; &lt;tr valign="top"&gt; &lt;th&gt;Tests&lt;/th&gt;&lt;th&gt;Failures&lt;/th&gt;&lt;th&gt;Errors&lt;/th&gt;&lt;th&gt;Success rate&lt;/th&gt;&lt;th&gt;Time&lt;/th&gt; &lt;/tr&gt; &lt;tr valign="top" class="Pass"&gt; &lt;td&gt;&lt;a title="Display all tests" href="all-tests.html"&gt;1&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a title="Display all failures" href="alltests-fails.html"&gt;0&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a title="Display all errors" href="alltests-errors.html"&gt;0&lt;/a&gt;&lt;/td&gt;&lt;td&gt;100.00%&lt;/td&gt;&lt;td&gt;0.070&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;table border="0" width="95%"&gt; &lt;tr&gt; &lt;td style="text-align: justify;"&gt; Note: &lt;em&gt;failures&lt;/em&gt; are anticipated and checked for with assertions while &lt;em&gt;errors&lt;/em&gt; are unanticipated. &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;h2&gt;Packages&lt;/h2&gt; &lt;table class="details" border="0" cellpadding="5" cellspacing="2" width="95%"&gt; &lt;tr valign="top"&gt; &lt;th width="80%"&gt;Name&lt;/th&gt;&lt;th&gt;Tests&lt;/th&gt;&lt;th&gt;Errors&lt;/th&gt;&lt;th&gt;Failures&lt;/th&gt;&lt;th nowrap&gt;Time(s)&lt;/th&gt;&lt;th nowrap&gt;Time Stamp&lt;/th&gt;&lt;th&gt;Host&lt;/th&gt; &lt;/tr&gt; &lt;tr valign="top" class="Pass"&gt; &lt;td&gt;&lt;a href="./test/web/app/sampleApp/juint/package-summary.html"&gt;test.web.app.sampleApp.juint&lt;/a&gt;&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;0.070&lt;/td&gt;&lt;td&gt;2013-01-17T04:52:59&lt;/td&gt;&lt;td&gt;123456&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Please any one say how can I remove this warnings.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload