Hi, I'm currently working on SLING-354 [1]
My idea is to rename the parameter as discussed to "nameHint" with the semantics that this hint is used as specified if it is a valid node name. Invalid characters will be replaced with a "_". If a node with the name already exists, a number is prefixed to the node name (like it is currently done).
Now, there is already a filtering for node names if the special properties like jcr:title, name etc. are used. But this filtering is much more strikter: it always creates a lower case name and replaces valid characters (like spaces etc.) as well.
I think we should have the same behaviour when it comes to filtering and think we should only replace invalid characters.
WDYT? Regards Carsten [1] https://issues.apache.org/jira/browse/SLING-354 -- Carsten Ziegeler [EMAIL PROTECTED]
