Actions
Bug #5184
closedURIResolver.resolve() - order of parameters
Start date:
2021-12-07
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
SaxonCS includes an interface `Saxon.Ejavax.xml.transform.URIResolver which is intended to emulate the Java interface java.xml.transform.URIResolver. However, it's only method is declared as
Source resolve(string baseUri, string relativeUri);
whereas the corresponding method in Java is
Source resolve(String href, String base)
The reversal of the parameter order leads to the URIResolver being called incorrectly. It's rather surprising that this didn't lead to test failures, but this is probably because the test suites mainly use absolute URIs.
I'm going to correct this by changing the parameter order to match what it is in Java.
Please register to edit this issue
Actions