Hi

try this:
<xsl:text
disable-output-escaping="yes">&amp;nbsp;</xsl:text>

Serg

--- Jamie De Wet <[EMAIL PROTECTED]> wrote:
> Hi Grzegorz,
> 
> I had this same issue the other day. Try using the
> number code �
> instead. The schema seems to only like name codes
> like &amp; &apos; &gt;
> &lt; &quot;.
> 
> Otherwise the schema seems to only accept number
> codes. I have attached a
> list of special character codes.
> 
> Hope this helps
> Jamie
> 
> -----Original Message-----
> From: Grzegorz Misztalewski [mailto:grm1@;wp.pl]
> Sent: Monday, October 28, 2002 9:59 AM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] non-breaking-space "&nbsp;"
> entities in xml
> 
> 
> Hi all
> 
> I have problem with unmarshalling xml containing
> &nbsp; entity.
> When trying to unmarshal such a document, I get
> 
> org.xml.sax.SAXException: Parsing Error : The entity
> "nbsp" was
> referenced, but not declared.
>       [java] Line : 2
>       [java] Column : 152
>       [java]     at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:117
> 6)
>       [java]     at
> org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown
> Source)
>       [java]     at
> org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown
> Source)
> 
> Other entities (&lt; &gt; etc.) are handled
> correctly.
> 
> Is there any solution to handle &nbps; entities
> correctly?
> 
> 
> Thanks,
> Grzegorz
> 
>
-----------------------------------------------------------
> 
> If you wish to unsubscribe from this mailing, send
> mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=SpecCharacters.zip



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to