WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 19th, 2004, 11:22 AM
jailbox jailbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Estonia
Posts: 99 jailbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Question Help!!!!

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>

Reply With Quote
  #2  
Old June 19th, 2004, 11:38 AM
jailbox jailbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Estonia
Posts: 99 jailbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Aah... screw this post. lol. I didnt know that card id's cant have numbers.

Reply With Quote
  #3  
Old June 19th, 2004, 11:39 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
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

Reply With Quote
  #4  
Old June 19th, 2004, 11:46 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Quote:
Originally Posted by jailbox
Aah... screw this post. lol. I didnt know that card id's cant have numbers.

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..........

Reply With Quote
  #5  
Old June 19th, 2004, 11:47 AM
jailbox jailbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Estonia
Posts: 99 jailbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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

Reply With Quote
  #6  
Old June 20th, 2004, 09:55 AM
ingisk ingisk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Vilnius, Lithuanian
Posts: 10 ingisk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 58 sec
Reputation Power: 0
Send a message via ICQ to ingisk Send a message via AIM to ingisk Send a message via MSN to ingisk Send a message via Yahoo to ingisk
Quote:
Originally Posted by jailbox
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

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?

Reply With Quote
  #7  
Old June 20th, 2004, 01:14 PM
jailbox jailbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Estonia
Posts: 99 jailbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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?


I also found out that a card id cant start with a number but it can contain numbers

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Help!!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway