#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0

    parse error IN WML CODE. ITS URGENT SO PLEASE HELP


    hi firends i an new here and after going through lots of site i found this. i am in dire need of help. recently i downloaded Nokia Mobile Internet Toolkit 4.1.,Nokia WAP Gateway Simulator.,Nokia Mobile Browser Simulator. without support of java 1.5 packaje. i have java 1.6 installed and java 1.4 but not installed. i could not found java 1.5 . problem is that whenever i run any programme and compile it alwys gives me Parse error''''. what could be reason and what is parse error. my code is correct as its small one . . what is the problem. is it related to installation or to java 1.5 . plz help. or sopmething else. plz help
    Code:
    <?xml version="1.0" encoding="ulf-8"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
    "http://www.wapforum.org/DTD/WML13.dtd">
    <wml>
    <!----possible  <head> elements here--->
    <!--- template implementation done here ----->
    <template>
      <do type="prev" label="back1">
        <prev/>
      </do>
    </template>
    <card id="card1" title="APCARD1">
    <do type="accept" label="Next">
    <go href="#card2">
    </do>
    <!-- Additional <do> elements here--->
    <p align="centre">
    <big><b>hello hi<br/>welcome to world of WML </b></big>
    </p>
    <!--additional <p> elemnts here---->
    </card>
    <card id="card2" id="APCARD2">
    <do type="accept" label="back">
    <go href="#card1"/>
    </do>
    <p align="left">
    <big><b>welcome to card 2</b></big>
    </p>
    </card>
    </wml>

    [http://www.imagehousing.com/]
    http://img1.imagehousing.com/69/4a96a242452cf28ea4ffb440640b06f4.jpg
    although image quality is not good u people can seriously see parse error. i am get this error regularly as even if type another code. And yes this code is simple one

    thanks in advance
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0
    44 viewes and 0 replies
  4. #3
  5. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    Patience is a virtue - this only urgent to you...
    Find yourself a decent validation tool (see sticky thread for more) ...

    Since I don't have IE or time to do a validation for you,
    but parse errors maybe due to the comments (or actual elements within your comments) do maybe try removing them and see what happens.

    I think that the lack of spacing is causing issues.

    <!-- see the space -->
    <!--you have no spaces in some comments-->

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________

IMN logo majestic logo threadwatch logo seochat tools logo