<!DOCTYPE html>
<meta charset=utf-8>
<title>valid cite</title>
<q cite="a:foo.com"></q><!-- scheme-private -->
<q cite="foo:/"></q><!-- scheme-private-slash -->
<q cite="foo://"></q><!-- scheme-private-slash-slash -->
<q cite="foo:/bar.com/"></q><!-- scheme-private-path -->
<q cite="foo://///////"></q><!-- scheme-private-path-leading-slashes-only -->
<q cite="foo://///////bar.com/"></q><!-- scheme-private-path-leading-slashes-chars -->
<q cite="foo:////://///"></q><!-- scheme-private-path-leading-slashes-colon-slashes -->
<q cite="c:/foo"></q><!-- scheme-private-single-letter -->
<q cite="madeupscheme:/example.com/"></q><!-- scheme-private-single-slash -->
<q cite="file:/example.com/"></q><!-- scheme-file-single-slash -->
<q cite="ftps:/example.com/"></q><!-- scheme-ftps-single-slash -->
<q cite="gopher:/example.com/"></q><!-- scheme-gopher-single-slash -->
<q cite="ws:/example.com/"></q><!-- scheme-ws-single-slash -->
<q cite="wss:/example.com/"></q><!-- scheme-wss-single-slash -->
<q cite="javascript:/example.com/"></q><!-- scheme-javascript-single-slash -->
<q cite="mailto:/example.com/"></q><!-- scheme-mailto-single-slash -->
<q cite="madeupscheme:example.com/"></q><!-- scheme-private-no-slash -->
<q cite="ftps:example.com/"></q><!-- scheme-ftps-no-slash -->
<q cite="gopher:example.com/"></q><!-- scheme-gopher-no-slash -->
<q cite="wss:example.com/"></q><!-- scheme-wss-no-slash -->
<q cite="mailto:example.com/"></q><!-- scheme-mailto-no-slash -->
<q cite="data:text/plain,foo"></q><!-- scheme-data-no-slash -->
<q cite="http://user:pass@foo:21/bar;par?b#c"></q><!-- userinfo -->
<q cite="http://[2001::1]"></q><!-- host-ipv6 -->
<q cite="http://[2001::1]:80"></q><!-- host-ipv6-port -->
<q cite="http://f:/c"></q><!-- port-none-but-colon -->
<q cite="http://f:0/c"></q><!-- port-0 -->
<q cite="http://f:00000000000000/c"></q><!-- port-00000000000000 -->
<q cite="http://f:00000000000000000000080/c"></q><!-- port-00000000000000000000080 -->
<q cite="http://a:b@c:29/d"></q><!-- userinfo-host-port-path -->
<q cite="http://foo.com:b@d/"></q><!-- userinfo-username-non-alpha -->
<q cite="http://foo/abcd?efgh?ijkl"></q><!-- query-contains-question-mark -->
<q cite="http://foo/abcd#foo?bar"></q><!-- fragment-contains-question-mark -->
<q cite="http://example.com/foo/%2e"></q><!-- path-percent-encoded-dot -->
<q cite="http://example.com/%20foo"></q><!-- path-percent-encoded-space -->
<q cite="http://example.com/Â©zbar"></q><!-- path-non-ascii -->
<q cite="http://example.com/foo%41%7a"></q><!-- path-percent-encoded-multiple -->
<q cite="http://example.com/foo%91"></q><!-- path-percent-encoded-u0091 -->
<q cite="http://example.com/foo%00"></q><!-- path-percent-encoded-u0000 -->
<q cite="http://example.com/%3A%3a%3C%3c"></q><!-- path-percent-encoded-mixed-case -->
<q cite="http://example.com/你好你好"></q><!-- path-unicode-han -->
<q cite="http://example.com/﻿/foo"></q><!-- path-uFEFF -->
<q cite="http://example.com/‮/foo/‭/bar"></q><!-- path-u202E-u202D -->
<q cite="http://💩"></q><!-- host-is-pile-of-poo -->
<q cite="http💩//:foo"></q><!-- path-contains-pile-of-poo -->
<q cite="http://example.com/foo?💩"></q><!-- query-contains-pile-of-poo -->
<q cite="http://example.com/foo#💩"></q><!-- fragment-contains-pile-of-poo -->
<q cite="http://192.0x00A80001"></q><!-- host-192.0x00A80001 -->
<q cite="http://%25DOMAIN:foobar@foodomain.com"></q><!-- userinfo-username-contains-percent-encoded -->
<q cite="http://@www.example.com"></q><!-- userinfo-empty -->
<q cite="http://:b@www.example.com"></q><!-- userinfo-user-empty -->
<q cite="http://a:@www.example.com"></q><!-- userinfo-password-empty -->
<q cite="http://GOO​⁠﻿goo.com"></q><!-- host-exotic-whitespace -->
<q cite="http://www.foo。bar.com"></q><!-- host-exotic-dot -->
<q cite="http://Ｇｏ.com"></q><!-- host-fullwidth -->
<q cite="http://你好你好"></q><!-- host-idn-unicode-han -->
<q cite="http://192.168.0.257/"></q><!-- host-IP-address-broken -->
<q cite="//foo/bar"></q><!-- scheme-schemeless-relative -->
<q cite="/"></q><!-- path-slash-only-relative -->
<q cite="/a/b/c"></q><!-- path-simple-relative -->
<q cite="/a%2fc"></q><!-- path-percent-encoded-slash-relative -->
<q cite="/a/%2f/c"></q><!-- path-percent-encoded-slash-plus-slashes-relative -->
<q cite="?"></q><!-- query-empty-no-path-relative -->
<q cite="#"></q><!-- fragment-empty-hash-only-no-path-relative -->
<q cite="#/"></q><!-- fragment-slash-relative -->
<q cite="#;?"></q><!-- fragment-semicolon-question-mark-relative -->
<q cite="#β"></q><!-- fragment-non-ascii-relative -->
<q cite="foo.com"></q><!-- scheme-none-relative -->
<q cite=":"></q><!-- path-colon-relative -->
<q cite=":a"></q><!-- path-leading-colon-letter-relative -->
<q cite=":foo.com"></q><!-- path-leading-colon-chars-relative -->
<q cite=":/"></q><!-- path-leading-colon-slash-relative -->
<q cite=":#"></q><!-- path-leading-colon-hash-relative -->
<q cite=":23"></q><!-- path-leading-colon-number-relative -->
<q cite="/:23"></q><!-- path-slash-colon-number-relative -->
<q cite="::"></q><!-- path-leading-colon-colon-relative -->
<q cite="::23"></q><!-- path-colon-colon-number-relative -->
<q cite="💩http://foo"></q><!-- path-starts-with-pile-of-poo -->
<q cite="/💩"></q><!-- path-slash-pile-of-poo -->
<q cite="File://foo/bar.html"></q><!-- scheme-file-uppercase -->
<q cite="file://C|/foo/bar"></q><!-- scheme-file-slash-slash-c-bar -->
<q cite="file://server/foo/bar"></q><!-- scheme-file-host-included -->
<q cite="file:///foo/bar.txt"></q><!-- scheme-file-host-empty -->
<q cite="file:"></q><!-- scheme-file-scheme-only -->
<q cite="file:/"></q><!-- scheme-file-slash-only -->
<q cite="file://"></q><!-- scheme-file-slash-slash-only -->
<q cite="file:///"></q><!-- scheme-file-slash-slash-slash-only -->
<q cite="file:test"></q><!-- scheme-file-no-slash -->
