Hi, Am 13.09.2010 21:20, schrieb Justin Edelson (JIRA): > ResourceUtil.getParent(String) doesn't handle paths with workspace prefixes > --------------------------------------------------------------------------- > > Key: SLING-1770 > URL: https://issues.apache.org/jira/browse/SLING-1770 > Project: Sling > Issue Type: Bug > Components: API > Reporter: Justin Edelson > Assignee: Justin Edelson > > > ResourceUtil.getParent("otherwsp:/path") should return "otherwsp:/".
Good catch. Following up to this: what is the parent of "otherwsp:/" ? The parent for "/" is null to incidate there is no parent to the root. Regards Felix >
