|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Im pretty sure that this code is correct but the validator at w3schools.com gives an error sayn that a name was started with an invalid character on line 6, but I dont see any invalid characters in the code. Are there any?
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="3rdq" title="Third question"> <p align="center"> Correct<br/><br/> How did Dave Mustaine get his first records? </p> <p> <a href="http://geocities.com/jailbox16/metallica/wronganswer.wml">Buying em</a> </p> <p> <a href="http://geocities.com/jailbox16/metallica/4thq.wml">Trading them for pot</a> </p> <p> <a href="http://geocities.com/jailbox16/metallica/wronganswer.wml">Found them</a> </p> </card> </wml> |
|
#2
|
|||
|
|||
|
Aah... screw this post. lol. I didnt know that card id's cant have numbers.
|
|
#3
|
||||
|
||||
|
Hiya,
I just uploaded your code to http://www.web2txt.co.uk/testing.wml then called it at Wapsilon: http://www.wapsilon.com/?t=w%3Bf%3D...k%2Ftesting.wml It came up okay without any errors so I sent the link to my phone, a Nokia 7250i and that came up okay too. if anything was making it go pear shaped i'd guess it was some whitespace or dubious invisible characters. usually wapsilon picks up on these things for you though i just tried to validate your code at http://www.w3schools.com/wap/wml_validate.asp and all it said was "Validate WML" when I submitted. It works on my phone and an emulator, could the validator be having a bad day?
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#4
|
||||
|
||||
|
Quote:
lol - nor did i so we've both learnt something today! i only ever give card id's words so hadn't been confronted with that problem dave mustaine aint done badly then if he started trading records for pot and pot for records....... i confess to selling promo copies of cd's to record shops for more drinking money when i was on the radio....... sorry virgin, emi, warner, sony.......... |
|
#5
|
|||
|
|||
|
I found the mistake. See the card id. It has a number in it. When I took it out it worked. This means that numbers are evil. Anyway, it works now
|
|
#6
|
|||
|
|||
|
Quote:
Well, I use numbers in my card id and it works fine. Maybe you put a space accidently and then deleted when you deleted the number? |
|
#7
|
|||
|
|||
|
Quote:
I also found out that a card id cant start with a number but it can contain numbers |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Help!!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|