This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
ExtendedCatalogResolver.findEndOfSlashes crashes when incoming string ends with "/". This can actually occurs when the library is called from within a script that executes as a daemon at startup. The working directory seems to be the root in that case, which means the function may be called with something like: "file:////"
Function updated not to trigger any IndexOutOfBoundsException.