You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Fabian Huschka <fa...@dreicsystems.de> on 2000/11/03 02:17:46 UTC

Character-Escaping

Hi,

I use XML entities to escape special chars (e.g. the ™ symbol)

The entitiy looks like this:

<!ENTITY trade  "&#8482;"> which is HTML 4.0 conform.

However whenever I try to transform an XML-Document with XalanJ 1.0
I do get the following result:

something™
                    ^^
                    Translated trademark enitity

This happens even though I am telling XalanJ to use the HTTP mode by

<xsl:output method="html" />

Is this a bug or am I just off ones cake?

Thanks,

Fabian