[ 
https://issues.apache.org/jira/browse/SLING-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618647#action_12618647
 ] 

Tobias Bocanegra commented on SLING-592:
----------------------------------------

i think in this picture the node name just happens to be the same as the value 
of the property 'name'. which is the default behavior when creating nodes via 
the sling post servlet.
however, your statement "Often the node name reflects a property value" is 
simply wrong. i would say: "in some cases, the name of the node is the same as 
a value of one of it's properties".

there are a lot of problems with SNS, especially the no-consistent addressing. 
for example, if you address one of your shops by: /shops/shop[2].html (i wonder 
if this works, at all), and then afterwards delete the first shop, the same 
address refers now to the prior 3rd shop node. which makes the entire 
addressing unstable.

in this respect, i makes absolutely no sense of having node resources with the 
same name in sling. further more, you'll just get a lot of problems, even if it 
would work. if the "node name" does not matter, just use some random name, or a 
number, or anything.


> add SNS (Same Name Siblings) support
> ------------------------------------
>
>                 Key: SLING-592
>                 URL: https://issues.apache.org/jira/browse/SLING-592
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Oliver Lietz
>
> support SNS to simplify adding content without a single unique (meaningful) 
> property

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

Reply via email to