Hi Jörn, Joern Nettingsmeier schrieb: > here's a proposal for a new lenya document reference syntax, to be used > for internal links, assets and image inclusions: > > lenya-document:<uuid>?lang=<language>&area=<area>&rev=<revision>&pub=<pub-id>
unfortunately, there is a problem with this syntax: It is not possible to distinguish lenya-document parameters from request parameters. For instance, consider an internal link to a usecase-document page. This would lead to a conflict if the usecase also requires an "area" parameter (e.g., a "show area version" usecase could be invoked in the authoring area on a live document). Possible solutions: - use a different delimiter for lenya-document parameters lenya-document:uuid=...:lang=...:area=authoring?area=live - prefix the lenya-document parameters (would be quite verbose) - add another delimiter after the lenya-document parameters lenya-document:<uuid>?area=authoring?area=live I guess this doesn't conform to the URI syntax, though. - use a different syntax for lenya-document parameters, e.g. lenya-document:<uuid>[EMAIL PROTECTED]'authoring']?area=live This probably doesn't conform to the URI syntax either. Maybe there are some better suggestions? -- Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
