Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
the following code throws a (misleading) exception:
session.getRootNode().addNode("{foo");
the root cause of the exception is that "{foo" is not correctly parsed by
o.a.j.spi.commons.name.PathParser
PathParser.checkFormat("{foo")
succeeds,
but
PathParser.parse("{foo", resolver, factory)
throws a
MalformedPathException: empty path
NameParser
OTOH seems to correctly handle non-expandedform names with leading '{'.