Tue, 19 Mar 2013 19:16:59 -0700
8010317: DocLint incorrectly reports some <pre> tags as empty
Reviewed-by: darcy
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832
4 * @summary Add new doclint package
5 * @library ..
6 * @build DocLintTester
7 * @run main DocLintTester -ref TextNotAllowed.out TextNotAllowed.java
8 */
10 // tidy: Warning: plain text isn't allowed in <.*> elements
12 /**
13 * <table summary=description> abc </table>
14 * <table summary=description> <tbody> abc </tbody> </table>
15 * <table summary=description> <tr> abc </tr> </table>
16 *
17 * <dl> abc </dl>
18 * <ol> abc </ol>
19 * <ul> abc </ul>
20 *
21 * <ul>
22 * <li> item
23 * <li> item
24 * </ul>
25 */
26 public class TextNotAllowed { }