Description
the following two lines are omnipresent in the node type package:
JcrNameParser.checkName(name, true);
this.name = mapper.getJcrName(mapper.getOakNameOrNull(name));
as discussed in OAK-553 this is quite troublesome as getJcrName expects
a null oak name parameter and in addition looks odd.
possibles solutions include:
- refactoring this to a new method in the NameMapper (getNormalizedJcrName)
- refactor the code such that the node type related implementations
keep oak-names internally and convert them to the standard jcr-form
on demand.