[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

Error with a non-breaking space in WML

WLY

2/25/2006 5:47:00 AM

Hello all,
The mobile forms of the mobile app i'm developing render a non-breaking
space using named character entity - &nbsp - like this:
<p>txt1<br/>
&nbsp;<br/>
txt2</p>
The problem is that the wap gateway i'm using returns a wml compilation error:
Failed to compile the wml page!
Message: The entity "nbsp" was referenced, but not declared.

If i replace the named character entity ( ) for the decimal character entity
( ) the wap gateway compiles the wml.

My question is: Is it possible to change the way .net framework render the
nonbreaking space, to force decimal character entity? I look in
machine.config and don´t find any configuration for that.

Thanks for your help!!


1 Answer

intiratr

2/27/2006 3:06:00 PM

0

same here.
It happen with nokia series 40 or lower and others phone.
I think it's related to wap version lower than 2.0.
Any help is appreciated.

"WLY" wrote:

> Hello all,
> The mobile forms of the mobile app i'm developing render a non-breaking
> space using named character entity - &nbsp - like this:
> <p>txt1<br/>
> <br/>
> txt2</p>
> The problem is that the wap gateway i'm using returns a wml compilation error:
> Failed to compile the wml page!
> Message: The entity "nbsp" was referenced, but not declared.
>
> If i replace the named character entity ( ) for the decimal character entity
> ( ) the wap gateway compiles the wml.
>
> My question is: Is it possible to change the way .net framework render the
> nonbreaking space, to force decimal character entity? I look in
> machine.config and don´t find any configuration for that.
>
> Thanks for your help!!
>
>