Hi,

There was a discussion on the user list re. this [1]: When upgrading a repository that contains SNSs, those are treated according to Oak's basic same name sibling support. That is, the names of such nodes are suffixed with their indexes in square brackets (see OAK-203 [2]). This is problematic as there is virtually nothing you can do later to such nodes through the JCR API apart from iterating them from the parent. Most other actions throw a "PathNotFoundException: sibling[42]" or some variant thereof.

What would be the best way forward here?

- Should we generally allow square brackets in the node names in Oak?

or

- Should we allow square brackets only when the name of an existing node already contained them?

or

- Should we not allow square brackets altogether and update the upgrade tool accordingly?

Any other approach?

Michael


[1] http://markmail.org/message/qge5nnyev3hzzipx
[2] https://issues.apache.org/jira/browse/OAK-203

Reply via email to