langtools/test/tools/doclint/tidy/InvalidURI.java
author jjg
Mon, 17 Dec 2012 07:47:05 -0800
changeset 14952 d0022ae20516
child 14962 19ffdfafbcd2
permissions -rw-r--r--
8004832: Add new doclint package Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     3
 * @library ..
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     4
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @run main DocLintTester -ref InvalidURI.out InvalidURI.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
// tidy: Warning: <a> escaping malformed URI reference
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
// tidy: Warning: <.*> attribute ".*" lacks value
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
/**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
 * <a href="abc">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
 * <a href="abc%20def">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
 * <a href="abc def">invalid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
 * <a href>no value</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    16
 * <a href= >no value</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    17
 * <a href="" >no value</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    18
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    19
public class InvalidURI { }