HighTechTalks DotNet Forums  

Error with a non-breaking space in WML

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss Error with a non-breaking space in WML in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
WLY
 
Posts: n/a

Default Error with a non-breaking space in WML - 02-25-2006 , 12:47 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!!



Reply With Quote
  #2  
Old   
intiratr
 
Posts: n/a

Default RE: Error with a non-breaking space in WML - 02-27-2006 , 10:05 AM






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:

Quote:
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!!



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.