[ZCM] [ZC] 1144/ 5 Accept "Mixedcase attributes converted to
Lowercase in ZPT"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Sat Jan 31 11:31:05 EST 2004
Issue #1144 Update (Accept) "Mixedcase attributes converted to Lowercase in ZPT"
Status Accepted, Zope/bug medium
To followup, visit:
http://zope.org/Collectors/Zope/1144
==============================================================
= Accept - Entry #5 by ajung on Jan 31, 2004 11:31 am
Status: Pending => Accepted
Supporters added: ajung
I can confirm the problem. There is some code in HTMLParser.py
that converts all tags and attributes unconditionally to lowercase.
This is acceptable for HTML but not for XML since tag and attribute names are case sensitive. Other code in TAL makes a distinguishes between XML mode and HTML and converts only to lower-case
if the mode is not XML.
________________________________________
= Comment - Entry #4 by brazbayu on Jan 31, 2004 10:56 am
Note: I'm currently using V2.7.0-rc1 and CMF V1.4.2
________________________________________
= Comment - Entry #3 by brazbayu on Jan 31, 2004 10:52 am
Uploaded: "small_example.txt"
- http://zope.org/Collectors/Zope/1144/small_example.txt/view
I've attached a *small* example.
________________________________________
= Comment - Entry #2 by ajung on Dec 6, 2003 3:10 am
Can you please reduce the example to a *small* testcase.
________________________________________
= Request - Entry #1 by brazbayu on Dec 5, 2003 5:09 pm
Uploaded: "TAL_Bug.txt"
- http://zope.org/Collectors/Zope/1144/TAL_Bug.txt/view
In the process of using ZPT's as XML templates I discovered that it converts all the attributes for an element to lowercase. For example, an attribute called 'spaceBefore' would be converted to 'spacebefore'.
See attached file for example.
==============================================================
More information about the Zope-Collector-Monitor
mailing list