File: InvalidURI.java

package info (click to toggle)
libnb-javaparser-java 9%2B2018-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 65,172 kB
  • sloc: java: 440,096; xml: 6,359; sh: 865; makefile: 314
file content (22 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * @test /nodynamiccopyright/
 * @bug 8004832
 * @summary Add new doclint package
 * @library ..
 * @modules jdk.compiler/com.sun.tools.doclint
 * @build DocLintTester
 * @run main DocLintTester -ref InvalidURI.out InvalidURI.java
 */

// tidy: Warning: <a> escaping malformed URI reference
// tidy: Warning: <.*> attribute ".*" lacks value

/**
 * <a href="abc">valid</a>
 * <a href="abc%20def">valid</a>
 * <a href="abc def">invalid</a>
 * <a href>no value</a>
 * <a href= >no value</a>
 * <a href="" >no value</a>
 */
public class InvalidURI { }