Path p = PathParser.parse(jcrPath, resolver, idResolver, factory, true);
assertFalse(p.denotesIdentifier());
p = PathParser.parse(jcrPath, resolver, idResolver, factory, false);
assertTrue(p.denotesIdentifier());
try {
PathParser.parse(factory.getRootPath(), jcrPath, resolver, idResolver, factory);
fail("Cannot parser an identifier-based path to a relative path.");
} catch (MalformedPathException e) {