|
Subject: sax / special charcter problem (?) From: gauti@xxxxxxxxxxxx Date: Mon, 11 Sep 2000 04:35:48 -0400 (EDT) |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Suggestion for XSLT 2.0, Matthew Bentley | Thread | RE: sax / special charcter problem , Thorbjørn Ravn Ander |
| RE: include ?, Bjorn Boxstart | Date | RE: Special characters turn out as , Guðmundur Erlingsson |
| Month |