Error with a non-breaking space in WML

Discussion in 'ASP .Net Mobile' started by WLY, Feb 25, 2006.

  1. WLY

    WLY Guest

    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!!
    WLY, Feb 25, 2006
    #1
    1. Advertising

  2. WLY

    intiratr Guest

    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!!
    >
    >
    intiratr, Feb 27, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    351
    Olaf Studt
    Dec 3, 2003
  2. Shuo Xiang

    Stack space, global space, heap space

    Shuo Xiang, Jul 9, 2003, in forum: C Programming
    Replies:
    10
    Views:
    2,846
    Bryan Bullard
    Jul 11, 2003
  3. Christian Seberino
    Replies:
    21
    Views:
    1,604
    Stephen Horne
    Oct 27, 2003
  4. Replies:
    1
    Views:
    455
    Steven D'Aprano
    Jun 5, 2010
  5. Markus
    Replies:
    20
    Views:
    577
Loading...

Share This Page