[DM] 'structure' directive support within tal:attributes (TAL)

Bug #374721 reported by Andreas Jung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Undecided
Andreas Jung
zope.tal
Invalid
Undecided
Andreas Jung

Bug Description

2. Introduction

The "HRS" is still based on SGML and uses SGML entities to represent special characters. The "iDesk" production follows this tradition and delivers objects with SGML entities in associated attributes.

TAL supports SGML entities in element bodies via the structure keyword. Unfortunately, occasionally, SGML entities are also required in element attributes -- and TAL does not support this use case as structure is unsupported in tal:attributes.

3. Feature

Support structure in tal:attributes.

4. Example Use Cases

Necessary for "iDesk" to be able to handle SGML entities in attributes.

An alternative would be to convert the HRS and/or the "iDesk" production to use unicode instead of SGML entities.

Tags: dm-committed
Revision history for this message
Andreas Jung (ajung) wrote :
Revision history for this message
Andreas Jung (ajung) wrote :
Changed in zope2:
assignee: nobody → Andreas Jung (ajung)
status: New → Fix Committed
tags: added: dm-committed
Revision history for this message
Christian Zagrodnick (zagy) wrote :

Could this be merged to zope.tal trunk?

Tres Seaver (tseaver)
Changed in zope.tal:
assignee: nobody → Andreas Jung (ajung)
Revision history for this message
Tres Seaver (tseaver) wrote :

"Fix committed" means that the fix has been merged to the trunk or appropriate release branches.

Changed in zope2:
status: Fix Committed → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.tal project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.tal.

Changed in zope.tal:
status: New → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.