On 12/16/05, toffe <[EMAIL PROTECTED]> wrote:
> 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 it possible that this character number is not valid for the
encoding you're using?

Kevin

Reply via email to