jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3366) incorrect handling of leading '{' in jcr names
Date Fri, 29 Jun 2012 12:33:42 GMT
Stefan Guggisberg created JCR-3366:

             Summary: incorrect handling of leading '{' in jcr names
                 Key: JCR-3366
                 URL: https://issues.apache.org/jira/browse/JCR-3366
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-spi-commons
            Reporter: Stefan Guggisberg

the following code throws a (misleading) exception:


the root cause of the exception is that "{foo" is not correctly parsed by 


{code}PathParser.checkFormat("{foo"){code} succeeds,
but {code}PathParser.parse("{foo", resolver, factory){code} throws a {code}MalformedPathException:
empty path{code}

{code}NameParser{code} OTOH seems to correctly handle non-expandedform names with leading

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message