[XML-SIG] Moving exceptions under Exception in yappsrt.py

Juergen Hermann Juergen Hermann" <jh@web.de
Wed, 31 Oct 2001 04:01:44 +0100


On Tue, 30 Oct 2001 19:40:11 -0700, Uche Ogbuji wrote:

>> - your changes to include CDATA_SECTION in a couple of places...

As a general note, while we're talking about CDATA, please use code 
like this:

'<![CDATA[%s]]>' % string.replace(markup, ']]>', ']]>]]&gt;<![CDATA[') 

to emit "markup" as a CDATA section. Most people tend to forget to 
handle the case that ]]> appears in the text.


Ciao, J=FCrgen