Richard Frovarp wrote:
I probably should know this, but what is the difference between cocoon:/ and cocoon://?

cocoon:/ points at a matcher in the current sitemap, cocoon:// points at the root sitemap.

I see this in the logs and would like to clear it up:

SocketListener0-9 WARN flow - usecases.js::executeUsecase() : The use of the cocoon:/ protocol prefix in the <view uri="..."> attribute is deprecated!

i think i introduced that message a while ago, because cocoon flow can only handle cocoon:/-type urls, not arbitrary ones - imho it's better to just have a matcher in there without the protocol part, lest people think they can use arbitrary protocols in there.

If we are releasing a rewrite, we should probably try to eliminate deprecation messages in our logs where possible.

very true. i should have cleaned that up while i was at it... generally, in all <view uri=""> attributes, cocoon:/ can be removed without any adverse effects (and should be)...


--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to