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] Resolved: (JCR-2723) Exception when missing namespace in CND file should have clearer message
Date Thu, 09 Sep 2010 15:12:32 GMT

     [ https://issues.apache.org/jira/browse/JCR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Guggisberg resolved JCR-2723.
------------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

fixed in svn r99544

> Exception when missing namespace in CND file should have clearer message
> ------------------------------------------------------------------------
>
>                 Key: JCR-2723
>                 URL: https://issues.apache.org/jira/browse/JCR-2723
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons, nodetype
>    Affects Versions: 2.1.0, 2.1.1
>            Reporter: Carl Hall
>             Fix For: 2.2.0
>
>         Attachments: types-bad.cnd, types-good.cnd
>
>
> Using the attached CND file, when calling CndImporter.registerNodeTypes(..) the following
message is in the returned exception:
> "Unable to parse CND Input: Error setting name of sling:resourceType to sling:resourceType
(bundle://23.0:0/SLING-INF/nodetypes/types.cnd, line 24)"
> The issue with line 24 is that the "sling" namespace has not been included.  The message
should state that a namespace is missing and what prefix is not understood.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message