test/tools/doclint/html/TextNotAllowed.java

changeset 1507
967052c425a1
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/doclint/html/TextNotAllowed.java	Mon Jan 21 10:07:37 2013 -0800
     1.3 @@ -0,0 +1,32 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug 8004832
     1.7 + * @summary Add new doclint package
     1.8 + * @library ..
     1.9 + * @build DocLintTester
    1.10 + * @run main DocLintTester -ref TextNotAllowed.out TextNotAllowed.java
    1.11 + */
    1.12 +
    1.13 +/**
    1.14 + * <dl> abc <dt> term </dt> def <dd> description </dd> ghi </dl>
    1.15 + * <ol> abc <li> item </li> def <li> item </li> ghi </ol>
    1.16 + * <ul> abc <li> item </li> def <li> item </li> ghi </ul>
    1.17 + *
    1.18 + * <table summary=description> abc </table>
    1.19 + * <table summary=description> <thead> abc </thead> </table>
    1.20 + * <table summary=description> <tbody> abc </tbody> </table>
    1.21 + * <table summary=description> <tfoot> abc </tfoot> </table>
    1.22 + * <table summary=description> <tr> abc </tr> </table>
    1.23 + *
    1.24 + * <dl> &amp; <dt> term </dt> &lt; <dd> description </dd> &gt; </dl>
    1.25 + * <ol> &amp; <li> item </li> &lt; <li> item </li> &gt; </ol>
    1.26 + * <ul> &amp; <li> item </li> &lt; <li> item </li> &gt; </ul>
    1.27 + *
    1.28 + * <table summary=description> &amp; </table>
    1.29 + * <table summary=description> <thead> &amp; </thead> </table>
    1.30 + * <table summary=description> <tbody> &amp; </tbody> </table>
    1.31 + * <table summary=description> <tfoot> &amp; </tfoot> </table>
    1.32 + * <table summary=description> <tr> &amp; </tr> </table>
    1.33 + *
    1.34 + */
    1.35 +public class TextNotAllowed { }

mercurial