[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-28 Thread Jim Fulton
I want to thank everyone who's participating in this thread. The input is extremely valuable. Garrett Smith wrote: Jim Fulton wrote: We don't. In fact, one could argue that adaptation is a bit like a different kind of traversal. In fact, in Zope 3, we already have a notion of this. In

Re: [Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Tres Seaver
Jim Fulton wrote: Sidnei da Silva wrote: | So far, I like: | | foo/bar-dc/title | | the best. OTOH, for 'valid' xhtml, u would have to write: You mean well-formed. foo/bar-gt;dc/title Totally defeating the purpose. One may argue that this would not be part of the output, but it breaks the

Re: [Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Jim Fulton
Tres Seaver wrote: Jim Fulton wrote: Sidnei da Silva wrote: | So far, I like: | | foo/bar-dc/title | | the best. OTOH, for 'valid' xhtml, u would have to write: You mean well-formed. foo/bar-gt;dc/title Totally defeating the purpose. One may argue that this would not be part of the output, but

[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Evan Simpson
Jim Fulton wrote: IMO, if we take this route, we should think of the notation as providing an alternate traversal operator. That is, there is syntax that either modifies or replaces /, so of the examples above, only: context/*dc/title In that case, I'd be happy to consider adaptation as

[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Jim Fulton
Evan Simpson wrote: Jim Fulton wrote: IMO, if we take this route, we should think of the notation as providing an alternate traversal operator. That is, there is syntax that either modifies or replaces /, so of the examples above, only: context/*dc/title In that case, I'd be happy to consider

[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Garrett Smith
Jim Fulton wrote: We don't. In fact, one could argue that adaptation is a bit like a different kind of traversal. In fact, in Zope 3, we already have a notion of this. In general, in Zope 3 paths, we can say: foo/++namespace++name where /++namespace++ can be thought of as a special form

[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Marius Gedminas
On Thu, May 27, 2004 at 03:55:23PM -0500, Garrett Smith wrote: So, we could also use something like: content/++adapter++dc/title but I think people want something more concide for ZPT. I prefer this notation, even though it's more verbose. I think it should be supported along with