[Zope-Coders] Mail System Error - Returned Mail

Mail Administrator Mail Administrator <postmaster@mac.com>
Mon, 16 Dec 2002 15:24:49 -0800


--===========================_ _= 385437(15168+6039028)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

This Message was undeliverable due to the following reason:

The following destination addresses were unknown (please check
the addresses and re-mail the message):

SMTP <lrosenstein@mac.com>

Please reply to <postmaster@mac.com>
if you feel this message to be in error.


--===========================_ _= 385437(15168+6039028)
Content-Type: message/delivery-status
Content-Transfer-Encoding: 7bit

Reporting-MTA: dns; ms05.mac.com
Received-From-MTA:dns; smtpin02-en2.mac.com (10.13.10.147)
Arrival-Date: Mon, 16 Dec 2002 15:24:49 -0800

Final-Recipient: rfc822;lrosenstein@mac.com
Diagnostic-Code: smtp;551 User unknown
Action: failed 
Status: 5.1.6
Last-Attempt-Date: Mon, 16 Dec 2002 15:24:49 -0800


--===========================_ _= 385437(15168+6039028)
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit

Return-Path: <zope-coders@zope.org>
Received: from smtpin02-en2.mac.com ([10.13.10.147]) by
          ms05.mac.com (Netscape Messaging Server 4.15) with ESMTP id
          H78JPD00.ISX for <lrosenstein@mac.com>; Mon, 16 Dec 2002 15:24:49 -0800 
Received: from mail.python.org (mail.python.org [12.155.117.29])
	by smtpin02-en2.mac.com (8.12.3/MantshX 2.0) with ESMTP id gBGNOmhD002399
	for <lrosenstein@mac.com>; Mon, 16 Dec 2002 15:24:48 -0800 (PST)
Received: from [12.155.117.30] (helo=cvs.baymountain.com)
	by mail.python.org with esmtp (Exim 4.05)
	id 18O4bO-0003BJ-00; Mon, 16 Dec 2002 18:24:46 -0500
From: "Collector: Zope Bugs, Features, and Patches ..." <zope-coders@zope.org>
To: Larry Rosenstein <lrosenstein@mac.com>, evan <evan@zope.com>,
   klm <klm@zope.com>, Brian <brian@zope.com>, chrism <chrism@zope.com>,
   Caseman <casey@zope.com>,
   _Resolved_ recipient <zope-collector-monitor@zope.org>
Subject: [ZC] 468/ 3 Resolve "ZPT attr replacement name must be lower case"
X-Recipients-debug: ['Anonymous User', 'evan', 'klm', 'Brian', 'chrism', 'Caseman', ('_Resolved_ recipient', 'zope-collector-monitor@zope.org')]
Message-Id: <E18O4bO-0003BJ-00@mail.python.org>
Date: Mon, 16 Dec 2002 18:24:46 -0500
X-Spam-Status: No, hits=-1.7 required=5.0 tests=BODY_PYTHON_ZOPE,SPAM_PHRASE_00_01
X-Spam-Level: 

Issue #468 Update (Resolve) "ZPT attr replacement name must be lower case"
 Status Resolved, Zope/bug low
To followup, visit:
  http://collector.zope.org/Zope/468

==============================================================
= Resolve - Entry #3 by evan on Dec 16, 2002 6:24 pm

 Status: Pending => Resolved

Fixed in CVS trunk.
________________________________________
= Comment - Entry #2 by SmileyChris on Jul 18, 2002 11:26 pm

This is the same as issue #451
________________________________________
= Request - Entry #1 by Anonymous User on Jul 10, 2002 7:55 pm

The program:

from PageTemplates.PageTemplate import PageTemplate

def bug1():
    pt = PageTemplate()
    pt.write('''<b anAttr="original" tal:attributes="anAttr string:new">foo</b>''')
    print pt()

outputs:

<b anattr="original" anAttr="new">foo</b>

The problem is that the actual attribute name is lowercased in HTMLParser, but the name within tal:attributes is not (in parseAttributeReplacements).

The workaround is to ensure that the attribute name within tal:attributes is always lowercased.
==============================================================


--===========================_ _= 385437(15168+6039028)--