Re: [ZPT] Setting encoding in xml declaration

2005-05-30 Thread Fred Drake
On 5/28/05, Tom von Schwerdtner <[EMAIL PROTECTED]> wrote: > I'm not having any luck with this, so maybe someone here can help. > > 1- I need to generate a RDF document with TAL > > 2- I need to set the encoding in the XML declaration Are you sure you have to set this dynamically? This seems od

Re: [ZPT] ZPT bug collector

2005-06-27 Thread Fred Drake
> where is the best place to file a ZPT bug? > > Zope or Zope3-dev collector? Definately the Zope 3 collector: http://www.zope.org/Collectors/Collectors/Zope3-dev -Fred -- Fred L. Drake, Jr. Zope Corporation ___ ZPT mailing list ZPT@zope.

Re: [ZPT] including within

2005-07-25 Thread Fred Drake
On 7/25/05, Matthew White <[EMAIL PROTECTED]> wrote: > Thanks for your reply. Just after I posted to the list I remembered > omit-tag. Zope still won't parse the template so I'll look into > using a macro. You still won't be able to use any tags within the

[ZPT] New METAL feature for Zope 3.1

2005-08-18 Thread Fred Drake
Zope 3.1 will include a new feature in METAL, the Macro Expansion Tag Attribute Language used in page templates. The implementation is largely complete, but some issues with it were uncovered in the past week that have caused some re-evaluation of the details. At this point, we discovered that su

[ZPT] METAL 1.1 implemented, specification updated

2005-08-22 Thread Fred Drake
The METAL 1.1 specification has been updated (though it's still marked as a draft, pending review), and the implementation has been completed on the Zope 3 trunk and backported to the Zope 3.1 branch. This would be a good time to review the specification and ask any questions that come up. I hope

Re: [ZPT] pass parameter in href

2005-08-23 Thread Fred Drake
On 8/23/05, [EMAIL PROTECTED] . <[EMAIL PROTECTED]> wrote: > In 2.zpt I have: > this > 'firstValue' come from 1.zpt > I want to pass this integer ' value ' into script using link in 2.zpt: > > but I can't figured out what I should insert in place of this question marks > When I insert : > >

[ZPT] Re: [Zope3-dev] TALES namespace names cannot contain '-'

2005-09-01 Thread Fred Drake
On 9/1/05, Stephan Richter <[EMAIL PROTECTED]> wrote: > > Do any specifications need changing? > > I don't think so. If the directory the code is in has any TXT files you might > want to read through them making sure that the characters are not mentioned > anywhere. These are supposed to look lik

Re: [ZPT] Re: TALES namespace names cannot contain '-'

2005-09-02 Thread Fred Drake
On 9/2/05, Steve Alexander <[EMAIL PROTECTED]> wrote: > Aha -- we have been talking about different things. > > You're talking about the CONTEXTS in a page template. > > I'm talking about the foo/zope:url kind of TALES namespace. I'd forgotten about the concerns Evan raises; he's right about thi

Re: [ZPT] ZPT Performance Twiddling

2005-09-05 Thread Fred Drake
On 9/4/05, Tres Seaver <[EMAIL PROTECTED]> wrote: > For background: my laptop is pretty fast (I've clocked it at 50K+ > pystones), and has been able to do around 460 requests/second on a > trivial ZPT page in the root of the ZODB, measured using 'ab -n 1000 -c > 4' (ab running on the same machine)

[ZPT] Use-cases for strictinsert=True?

2005-09-20 Thread Fred Drake
Thomas Lotze reported that using the TAL interpreter from Zope 3 with strictinsert=True (the default when using it directly) fails miserably. It's entirely possible that this has been a problem for some time due to the nature of the failure. When strictinsert is true, the TAL interpreter attempts

Re: [ZPT] Use-cases for strictinsert=True?

2005-09-20 Thread Fred Drake
On 9/20/05, Ian Bicking <[EMAIL PROTECTED]> wrote: > I don't use it, but wouldn't strictinsert have been intended to protect > the XML/HTML validity of the source? That is, shouldn't it parse the > structure, but not special TAL constructs, thus ensuring that using > structure doesn't mess up your

[ZPT] Fwd: Use-cases for strictinsert=True?

2005-09-20 Thread Fred Drake
On 9/20/05, Tonico Strasser <[EMAIL PROTECTED]> wrote: > Just for my understanding: would it be possible to dynamically create > macros with strictinsert=True?: > > tal:repeat="name python: ('foo', 'bar', 'baz')" >tal:replace="structure string:
" >/> > >

Re: [ZPT] Suggestion about commenting for future TAL versions

2005-12-13 Thread Fred Drake
On 12/13/05, Mikko Ohtamaa <[EMAIL PROTECTED]> wrote: > In TAL making comments is pretty heavy and HTML syntax highlighters don't > detect > comments. Because commenting is such pain lazy people (like me!) might skip > it. Agreed. > Difference between a comment which appears in the final HTML a

[ZPT] Re: [Zope3-dev] attr name space

2005-12-30 Thread Fred Drake
On 12/30/05, Andreas Jung <[EMAIL PROTECTED]> wrote: > Wasn't the ZPT list considered obsolete some time ago? No. The ZIP list is dead. I think there was a suggestion that the ZPT list should be closed, but I disagreed with that since there are a number of ZPT users outside of Zope, including us

[ZPT] Re: [Zope3-dev] attr name space (was: RFC: abolishing python: expressions)

2005-12-30 Thread Fred Drake
Alexander Limi sent this note to the zope3-dev list: http://mail.zope.org/pipermail/zope3-dev/2005-December/017270.html Essentially, he proposed that we introduce additional namespaces to allow each define or attribute to be computed in a separate attribute, something like this: > attr:t

[ZPT] Re: [Zope3-dev] Re: Zope3 Standalone Page Templates

2007-03-27 Thread Fred Drake
On 3/26/07, Jim Fulton <[EMAIL PROTECTED]> wrote: We have a lot of work to do on dependencies. :( Fortunately, a number of community members are working on this right now. We should see some real improvements very soon. -Fred -- Fred L. Drake, Jr. "Every sin is the result of a collabor