michael@0: michael@0: michael@0: michael@0: Root: no xml:base michael@0: a.xml michael@0:

Expected: <current path>/a.xml

michael@0: michael@0: Sect1: xml:base="http://www.mozilla.org" michael@0: b.xml michael@0:

Expected: http://www.mozilla.org/b.xml

michael@0: michael@0: Sect2: xml:base="/base" michael@0: c.xml michael@0:

Expected: http://www.mozilla.org/base/c.xml

michael@0: michael@0: Sect3: xml:base="" michael@0: d.xml michael@0:

Expected: http://www.mozilla.org/base/d.xml

michael@0:
michael@0: michael@0: Sect3: xml:base="/" michael@0: d-2.xml michael@0:

Expected: http://www.mozilla.org/d-2.xml

michael@0:
michael@0: michael@0: Sect3: xml:base="/foobar" michael@0: e.xml michael@0:

Expected: http://www.mozilla.org/foobar/e.xml

michael@0:
michael@0: michael@0: Sect3: xml:base="ding/dong" michael@0: f.xml michael@0:

Expected: http://www.mozilla.org/base/ding/dong/f.xml

michael@0:
michael@0:
michael@0: michael@0: Sect2: xml:base="http://www.netscape.com" michael@0: g.xml michael@0:

Expected: http://www.netscape.com/g.xml

michael@0:
michael@0: michael@0: Sect2: xml:base="http://www.netscape.com" michael@0: http://www.mozilla.org/foobar/h.xml michael@0:

Expected: http://www.mozilla.org/foobar/h.xml

michael@0:
michael@0: michael@0: Sect2: xml:base="http://www.netscape.com" michael@0: i.xml, this element has xml:base="wow" michael@0:

Expected: http://www.netscape.com/wow/i.xml

michael@0:
michael@0:
michael@0: michael@0: Sect1: xml:base="nothere" michael@0: j.xml michael@0:

Expected: <current path>/nothere/j.xml

michael@0:
michael@0: michael@0: Sect1: xml:base="/not" michael@0: k.xml michael@0:

Expected: file:///not/k.xml

michael@0:
michael@0: michael@0: Sect1: xml:base="http://foobar.com/ä ö/" michael@0: l.xml michael@0:

Expected: http://foobar.com/%E4%20%F6/l.xml

michael@0:
michael@0: michael@0: Sect1: xml:base="http://foobar.com/ /%20/" michael@0: m.xml michael@0:

Expected: http://foobar.com/%20/%20/m.xml

michael@0:
michael@0: michael@0: Sect1: xml:base="chrome://navigator" michael@0: n.xml michael@0:

Expected: |current path|/n.xml because chrome URL is not allowed

michael@0: michael@0: Sect2: xml:base="http://www.mozilla.org" michael@0: o.xml, this element has xml:base="chrome://navigator" michael@0:

Expected: http://www.mozilla.org/o.xml because chrome base is not allowed

michael@0:
michael@0:
michael@0: