This should have been fixed in 0.8a5, if I'm not mistaken. What
TurboGears version are you running?

On 12/16/05, toffe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In a web project I fetch information from a database and display the
> information with kid using <p>${XML(text_from_db)}</p>
>
> The text from the db may contain XML entities such as &#62; which works
> just fine.
> The problem is if the text contains an entity that does not exist, for
> example &#24; which causes turbogears to print a stack trace
> (ExpatError: reference to invalid character number) instead of
> displaying the web page.
>
> Is there a way I can prevent TG / Kid from crashing?
>
> Thanks,
> toffe
>
>


--
[EMAIL PROTECTED]

Reply via email to