On 4/25/07, Torgeir Veimo <[EMAIL PROTECTED]> wrote:
Upgraded to jackrabbit 1.3, and I can no longer doItem item = session.getItem("/nen:content/pages/news/" ); which results in org.apache.jackrabbit.name.MalformedPathException: Empty path element: /nen:content/pages/news/ Is there a new limitation that a node path cannot end in / anymore?
afaik trailing slashes are illegal according to the spec (4.6 Path Syntax): path ::= abspath | relpath abspath ::= '/' relpath | '/' relpath ::= pathelement | relpath '/' pathelement pathelement ::= name | name '[' number ']' | '..' | '.' so if you were able to pass something like "/foo/bar/" in a previous release i'd argue that this was due to a bug in the path parser. however i am not aware of recent changes in the Path implemention. cheers stefan
-- Torgeir Veimo [EMAIL PROTECTED]
