Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by AndreasHartmann: http://wiki.apache.org/lenya/JcrContentModel ------------------------------------------------------------------------------ Issues: * References can only point to a particular translation - * A. Shared parent node + * A. Common parent node * Influences content hierarchy (and maybe URL structure) - * B. No shared parent node: relations between translations have to be maintained (or is this optional?) + * B. No common parent node: relations between translations have to be maintained (or is this optional?) * B.1. via multi-value reference property at each translation * B.2. via language-independent node * In either case, translations are not self-contained anymore Examples: + + Non-shared UUID, arbitrary structure {{{ /de /willkommen /jcr:uuid = 1 /lenya:language = "de" + /lenya:translations = { 2 } /en /welcome /jcr:uuid = 2 /lenya:language = "en" + /lenya:translations = { 1 } }}} + + Non-shared UUID, arbitrary structure {{{ /welcome_de /jcr:uuid = 1 /lenya:language = "de" + /lenya:translations = { 2 } /welcome_en /jcr:uuid = 2 /lenya:language = "en" + /lenya:translations = { 1 } }}} + Non-shared UUID, common parent node + + {{{ + /welcome + /de + /jcr:uuid = 1 + /lenya:language = "de" + /en + /jcr:uuid = 2 + /lenya:language = "en" + }}} + + Shared UUID, common parent node + + {{{ + /welcome + /jcr:uuid = 1 + /de + /lenya:language = "de" + /en + /lenya:language = "en" + }}} + + Shared UUID, artificial shared node + + {{{ + /welcome_de + /lenya:sharedDocumentNode = 1 + /lenya:language = "de" + /welcome_en + /lenya:sharedDocumentNode = 1 + /lenya:language = "en" + /lenya:sharedDocumentNodes + /welcome + /jcr:uuid = 1 + }}} + + Shared custom UUIDs + + {{{ + /welcome_de + /lenya:uuid = 1 + /lenya:language = "de" + /welcome_en + /lenya:uuid = 2 + /lenya:language = "en" + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
