[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

sax / special charcter problem (?)

Subject: sax / special charcter problem (?)
From: gauti@xxxxxxxxxxxx
Date: Mon, 11 Sep 2000 04:35:48 -0400 (EDT)
special charcter in xml
Hi!

Problem 1:

xml:
...
<!ENTITY middot "&#183;">
...
<paragraph>gauti&middot;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&#57182;&#56437;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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.