This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
sax / special charcter problem (?)
- To: xsl-list at mulberrytech dot com
- Subject: sax / special charcter problem (?)
- From: gauti at mindless dot com
- Date: Mon, 11 Sep 2000 04:35:48 -0400 (EDT)
- Reply-To: xsl-list at mulberrytech dot com
Hi!
Problem 1:
xml:
...
<!ENTITY middot "·">
...
<paragraph>gauti·gauti</paragraph>
...
xsl:
...
<html>
<body>
<p><xsl:value-of select="paragraph"/></p>
</body>
</html>
error:
Works fine when run through xalan and xerces on the command line but when I run this through a servlet using sax the output is 'gauti��ti'. Any ideas?
Problem 2:
xml:
...
<paragraph>ö</paragraph> <!-- swedish character, hope this shows ok on your computer :-) -->
...
same xsl.
error:
Ok on command line but the following sax error when I run it trough the servlet:
> org.xml.sax.SAXException occurred:
> An invalid XML character (Unicode: 0x1bcbf0) was found in the element content of the document.
Anyone?
cheers,
Gauti
----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list