#903 Abnormal cases of relative URIs not supported by resolve-uri

v9.1
closed
Michael Kay
5
2012-10-08
2008-12-11
Christoph Lange
No

One of the "abnormal cases" of relative URI solution is not handled correctly. According to RFC 3986, section 5.4.2, resolve-uri('../../../g', 'http://a/b/c/d;p?q') is supposed to return 'http://a/g', but in Saxon 9.1.0.3 (Java) it returns 'http://a/../g'.

Background why this is relevant for me: My Saxon/XSLT-based XML->RDF extractor Krextor fails on test case 0114 of the W3C RDFa test suite (http://www.w3.org/2006/07/SWD/RDFa/testsuite/).

Discussion