Expected: <current path>/a.xml
Expected: http://www.mozilla.org/b.xml
Expected: http://www.mozilla.org/base/c.xml
Expected: http://www.mozilla.org/base/d.xml
Expected: http://www.mozilla.org/d-2.xml
Expected: http://www.mozilla.org/foobar/e.xml
Expected: http://www.mozilla.org/base/ding/dong/f.xml
Expected: http://www.netscape.com/g.xml
Expected: http://www.mozilla.org/foobar/h.xml
Expected: http://www.netscape.com/wow/i.xml
Expected: <current path>/nothere/j.xml
Expected: file:///not/k.xml