While processing model reources, Element.getText is used instead of either
element.elementTextTrim... or element.elementText().trim()
If a user had formatted their resources-actions/default.xml; eclipse can cause the name to end with a new line and some tabs.
That said, when a user try to do a permissioncheck with that model name, it is not found.
is stored internally as "foo.company.something.modelName\n\t" and will not match a request for model "foo.company.something.modelName"
Line 904: String name = resource.elementText("model-name");
solution: String name = resource.elementText("model-name").trim();