cite-isvalid.html (6205B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>valid cite</title> 4 <del cite="a:foo.com"></del><!-- scheme-private --> 5 <del cite="foo:/"></del><!-- scheme-private-slash --> 6 <del cite="foo://"></del><!-- scheme-private-slash-slash --> 7 <del cite="foo:/bar.com/"></del><!-- scheme-private-path --> 8 <del cite="foo://///////"></del><!-- scheme-private-path-leading-slashes-only --> 9 <del cite="foo://///////bar.com/"></del><!-- scheme-private-path-leading-slashes-chars --> 10 <del cite="foo:////://///"></del><!-- scheme-private-path-leading-slashes-colon-slashes --> 11 <del cite="c:/foo"></del><!-- scheme-private-single-letter --> 12 <del cite="madeupscheme:/example.com/"></del><!-- scheme-private-single-slash --> 13 <del cite="file:/example.com/"></del><!-- scheme-file-single-slash --> 14 <del cite="ftps:/example.com/"></del><!-- scheme-ftps-single-slash --> 15 <del cite="gopher:/example.com/"></del><!-- scheme-gopher-single-slash --> 16 <del cite="ws:/example.com/"></del><!-- scheme-ws-single-slash --> 17 <del cite="wss:/example.com/"></del><!-- scheme-wss-single-slash --> 18 <del cite="javascript:/example.com/"></del><!-- scheme-javascript-single-slash --> 19 <del cite="mailto:/example.com/"></del><!-- scheme-mailto-single-slash --> 20 <del cite="madeupscheme:example.com/"></del><!-- scheme-private-no-slash --> 21 <del cite="ftps:example.com/"></del><!-- scheme-ftps-no-slash --> 22 <del cite="gopher:example.com/"></del><!-- scheme-gopher-no-slash --> 23 <del cite="wss:example.com/"></del><!-- scheme-wss-no-slash --> 24 <del cite="mailto:example.com/"></del><!-- scheme-mailto-no-slash --> 25 <del cite="data:text/plain,foo"></del><!-- scheme-data-no-slash --> 26 <del cite="http://user:pass@foo:21/bar;par?b#c"></del><!-- userinfo --> 27 <del cite="http://[2001::1]"></del><!-- host-ipv6 --> 28 <del cite="http://[2001::1]:80"></del><!-- host-ipv6-port --> 29 <del cite="http://f:/c"></del><!-- port-none-but-colon --> 30 <del cite="http://f:0/c"></del><!-- port-0 --> 31 <del cite="http://f:00000000000000/c"></del><!-- port-00000000000000 --> 32 <del cite="http://f:00000000000000000000080/c"></del><!-- port-00000000000000000000080 --> 33 <del cite="http://a:b@c:29/d"></del><!-- userinfo-host-port-path --> 34 <del cite="http://foo.com:b@d/"></del><!-- userinfo-username-non-alpha --> 35 <del cite="http://foo/abcd?efgh?ijkl"></del><!-- query-contains-question-mark --> 36 <del cite="http://foo/abcd#foo?bar"></del><!-- fragment-contains-question-mark --> 37 <del cite="http://example.com/foo/%2e"></del><!-- path-percent-encoded-dot --> 38 <del cite="http://example.com/%20foo"></del><!-- path-percent-encoded-space --> 39 <del cite="http://example.com/©zbar"></del><!-- path-non-ascii --> 40 <del cite="http://example.com/foo%41%7a"></del><!-- path-percent-encoded-multiple --> 41 <del cite="http://example.com/foo%91"></del><!-- path-percent-encoded-u0091 --> 42 <del cite="http://example.com/foo%00"></del><!-- path-percent-encoded-u0000 --> 43 <del cite="http://example.com/%3A%3a%3C%3c"></del><!-- path-percent-encoded-mixed-case --> 44 <del cite="http://example.com/你好你好"></del><!-- path-unicode-han --> 45 <del cite="http://example.com//foo"></del><!-- path-uFEFF --> 46 <del cite="http://example.com//foo//bar"></del><!-- path-u202E-u202D --> 47 <del cite="http://💩"></del><!-- host-is-pile-of-poo --> 48 <del cite="http💩//:foo"></del><!-- path-contains-pile-of-poo --> 49 <del cite="http://example.com/foo?💩"></del><!-- query-contains-pile-of-poo --> 50 <del cite="http://example.com/foo#💩"></del><!-- fragment-contains-pile-of-poo --> 51 <del cite="http://192.0x00A80001"></del><!-- host-192.0x00A80001 --> 52 <del cite="http://%25DOMAIN:foobar@foodomain.com"></del><!-- userinfo-username-contains-percent-encoded --> 53 <del cite="http://@www.example.com"></del><!-- userinfo-empty --> 54 <del cite="http://:b@www.example.com"></del><!-- userinfo-user-empty --> 55 <del cite="http://a:@www.example.com"></del><!-- userinfo-password-empty --> 56 <del cite="http://GOOgoo.com"></del><!-- host-exotic-whitespace --> 57 <del cite="http://www.foo。bar.com"></del><!-- host-exotic-dot --> 58 <del cite="http://Go.com"></del><!-- host-fullwidth --> 59 <del cite="http://你好你好"></del><!-- host-idn-unicode-han --> 60 <del cite="http://192.168.0.257/"></del><!-- host-IP-address-broken --> 61 <del cite="//foo/bar"></del><!-- scheme-schemeless-relative --> 62 <del cite="/"></del><!-- path-slash-only-relative --> 63 <del cite="/a/b/c"></del><!-- path-simple-relative --> 64 <del cite="/a%2fc"></del><!-- path-percent-encoded-slash-relative --> 65 <del cite="/a/%2f/c"></del><!-- path-percent-encoded-slash-plus-slashes-relative --> 66 <del cite="?"></del><!-- query-empty-no-path-relative --> 67 <del cite="#"></del><!-- fragment-empty-hash-only-no-path-relative --> 68 <del cite="#/"></del><!-- fragment-slash-relative --> 69 <del cite="#;?"></del><!-- fragment-semicolon-question-mark-relative --> 70 <del cite="#β"></del><!-- fragment-non-ascii-relative --> 71 <del cite="foo.com"></del><!-- scheme-none-relative --> 72 <del cite=":"></del><!-- path-colon-relative --> 73 <del cite=":a"></del><!-- path-leading-colon-letter-relative --> 74 <del cite=":foo.com"></del><!-- path-leading-colon-chars-relative --> 75 <del cite=":/"></del><!-- path-leading-colon-slash-relative --> 76 <del cite=":#"></del><!-- path-leading-colon-hash-relative --> 77 <del cite=":23"></del><!-- path-leading-colon-number-relative --> 78 <del cite="/:23"></del><!-- path-slash-colon-number-relative --> 79 <del cite="::"></del><!-- path-leading-colon-colon-relative --> 80 <del cite="::23"></del><!-- path-colon-colon-number-relative --> 81 <del cite="💩http://foo"></del><!-- path-starts-with-pile-of-poo --> 82 <del cite="/💩"></del><!-- path-slash-pile-of-poo --> 83 <del cite="File://foo/bar.html"></del><!-- scheme-file-uppercase --> 84 <del cite="file://C|/foo/bar"></del><!-- scheme-file-slash-slash-c-bar --> 85 <del cite="file://server/foo/bar"></del><!-- scheme-file-host-included --> 86 <del cite="file:///foo/bar.txt"></del><!-- scheme-file-host-empty --> 87 <del cite="file:"></del><!-- scheme-file-scheme-only --> 88 <del cite="file:/"></del><!-- scheme-file-slash-only --> 89 <del cite="file://"></del><!-- scheme-file-slash-slash-only --> 90 <del cite="file:///"></del><!-- scheme-file-slash-slash-slash-only --> 91 <del cite="file:test"></del><!-- scheme-file-no-slash -->