[a-element.xhtml]
  type: testharness
  [Parsing: <a:\t foo.com> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://f:b/c> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://f: /c> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://f:fifty-two/c> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://f: 21 / b ? d # e > against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <:foo.com\\> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <:\\> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo://> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http::@c:29> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://&a:foo(b\]c@d:2/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://::@c@d:2> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://foo.com:b@d/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://foo.com/\\@> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http:\\\\foo.com\\> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http:\\\\a\\b:c\\d@foo.com\\> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo:/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo:/bar.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo://///////> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <foo:////://///> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <c:/foo> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <[61:24:74\]:98> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http:[61:27\]/:foo> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://[1::2\]:3:4> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://2001::1> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://2001::1\]> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://2001::1\]:80> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <ftps:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <data:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <javascript:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <mailto:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <ftps:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <gopher:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <data:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <javascript:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <mailto:example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <data:text/html,test#test> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <file:c:\\foo\\bar.html> against <file:///tmp/mock/path>]
    expected:
      if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
      if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
      if not debug and (os == "mac") and (version == "OS X 10.8") and (processor == "x86_64") and (bits == 64): FAIL
      if not debug and (os == "mac") and (version == "OS X 10.10.2") and (processor == "x86") and (bits == 32): FAIL
      if not debug and (os == "mac") and (version == "OS X 10.6.8") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
      if debug and (os == "mac") and (version == "OS X 10.6.8") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "mac") and (version == "OS X 10.10.2") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
      if debug and (os == "mac") and (version == "OS X 10.8") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
      if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
      if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
      if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
      if debug and (os == "win") and (version == "10.0.10240") and (processor == "x86_64") and (bits == 64): FAIL
      if not debug and (os == "win") and (version == "10.0.10240") and (processor == "x86_64") and (bits == 64): FAIL
      if not debug and not e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86") and (bits == 32): FAIL
      if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86") and (bits == 32): FAIL
      if debug and not e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
      if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL

  [Parsing: <  File:c|////foo\\bar.html> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <C|/foo/bar> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: </C|\\foo\\bar> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <//C|/foo/bar> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <//server/file> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <\\\\server\\file> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: </\\server/file> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <//> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <///> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <///test> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file://test> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file://localhost> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file://localhost/> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file://localhost/test> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <test> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file:test> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <http://example.com/foo/%2e> against <about:blank>]
    expected: FAIL

  [Parsing: <http://example.com\\\\foo\\\\bar> against <about:blank>]
    expected: FAIL

  [Parsing: <data:test# »> against <about:blank>]
    expected: FAIL

  [Parsing: <http://[www.google.com\]/> against <about:blank>]
    expected: FAIL

  [Parsing: <http://192.0x00A80001> against <about:blank>]
    expected: FAIL

  [Parsing: <http://user:pass@/> against <about:blank>]
    expected: FAIL

  [Parsing: <http:\\\\www.google.com\\foo> against <about:blank>]
    expected: FAIL

  [Parsing: <httpa://foo:80/> against <about:blank>]
    expected: FAIL

  [Parsing: <http://foo:-80/> against <about:blank>]
    expected: FAIL

  [Parsing: <gopher://foo:70/> against <about:blank>]
    expected: FAIL

  [Parsing: <gopher://foo:443/> against <about:blank>]
    expected: FAIL

  [Parsing: <madeupscheme:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <ftps:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <gopher:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <data:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <javascript:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <mailto:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <madeupscheme:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <ftps:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <gopher:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <data:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <javascript:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <mailto:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:/:b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://:b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:/:@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://user@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:/@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <https:@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:a:b@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:/a:b@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://a:b@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http::@/www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://www.@pple.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:@:www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http:/@:www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://@:www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://:@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://example example.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://Goo%20 goo%7C|.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://GOO 　goo.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://﷐zyx.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%ef%b7%90zyx.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://％４１.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%ef%bc%85%ef%bc%94%ef%bc%91.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://％００.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://你好你好> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%zz%66%a.com> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%25> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://hello%00> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%30%78%63%30%2e%30%32%35%30.01> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%30%78%63%30%2e%30%32%35%30.01%2e> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://192.168.0.257> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://%3g%78%63%30%2e%30%32%35%30%2E.01> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://192.168.0.1 hello> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://０Ｘｃ０．０２５０．０１> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://[google.com\]> against <http://other.com/>]
    expected: FAIL

  [Parsing: <x> against <test:test>]
    expected: FAIL

  [Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <#Î²> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://www.google.com/foo?bar=baz# Â»> against <about:blank>]
    expected: FAIL

  [Parsing: <#β> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <http://www.google.com/foo?bar=baz# »> against <about:blank>]
    expected: FAIL

  [Parsing: <http://[\]> against <http://other.com/>]
    expected: FAIL

  [Parsing: <http://[:\]> against <http://other.com/>]
    expected: FAIL

  [Parsing: <file:/example.com/> against <http://example.org/foo/bar>]
    expected: FAIL

  [Parsing: <file:///foo/bar.txt> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file:///home/me> against <file:///tmp/mock/path>]
    expected: FAIL

  [Parsing: <file:/example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <#> against <test:test>]
    expected: FAIL

  [Parsing: <#x> against <mailto:x@x.com>]
    expected: FAIL

  [Parsing: <#x> against <data:,>]
    expected: FAIL

  [Parsing: <#x> against <about:blank>]
    expected: FAIL

  [Parsing: <#> against <test:test?test>]
    expected: FAIL

  [Parsing: <http://`{}:`{}@h/`{}?`{}> against <http://doesnotmatter/>]
    expected: FAIL

  [Parsing: <i> against <sc:sd>]
    expected: FAIL

  [Parsing: <i> against <sc:sd/sd>]
    expected: FAIL

  [Parsing: <i> against <sc:/pa/pa>]
    expected: FAIL

  [Parsing: <i> against <sc://ho/pa>]
    expected: FAIL

  [Parsing: <i> against <sc:///pa/pa>]
    expected: FAIL

  [Parsing: <../i> against <sc:sd>]
    expected: FAIL

  [Parsing: <../i> against <sc:sd/sd>]
    expected: FAIL

  [Parsing: <../i> against <sc:/pa/pa>]
    expected: FAIL

  [Parsing: <../i> against <sc://ho/pa>]
    expected: FAIL

  [Parsing: <../i> against <sc:///pa/pa>]
    expected: FAIL

  [Parsing: </i> against <sc:sd>]
    expected: FAIL

  [Parsing: </i> against <sc:sd/sd>]
    expected: FAIL

  [Parsing: </i> against <sc:/pa/pa>]
    expected: FAIL

  [Parsing: </i> against <sc://ho/pa>]
    expected: FAIL

  [Parsing: </i> against <sc:///pa/pa>]
    expected: FAIL

  [Parsing: <?i> against <sc:sd>]
    expected: FAIL

  [Parsing: <?i> against <sc:sd/sd>]
    expected: FAIL

  [Parsing: <?i> against <sc:/pa/pa>]
    expected: FAIL

  [Parsing: <?i> against <sc://ho/pa>]
    expected: FAIL

  [Parsing: <?i> against <sc:///pa/pa>]
    expected: FAIL

  [Parsing: <#i> against <sc:sd>]
    expected: FAIL

  [Parsing: <#i> against <sc:sd/sd>]
    expected: FAIL

  [Parsing: <#i> against <sc:/pa/pa>]
    expected: FAIL

  [Parsing: <#i> against <sc://ho/pa>]
    expected: FAIL

  [Parsing: <#i> against <sc:///pa/pa>]
    expected: FAIL

  [Parsing: <about:/../> against <about:blank>]
    expected: FAIL

  [Parsing: <data:/../> against <about:blank>]
    expected: FAIL

  [Parsing: <javascript:/../> against <about:blank>]
    expected: FAIL

  [Parsing: <mailto:/../> against <about:blank>]
    expected: FAIL

  [Parsing: <sc://ñ.test/> against <about:blank>]
    expected: FAIL

  [Parsing: <sc:\\../> against <about:blank>]
    expected: FAIL

  [Parsing: <file:..> against <http://www.example.com/test>]
    expected: FAIL

