Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Vaildating ASP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Vaildating ASP

 Post Reply Post Reply
Author
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Post Options Post Options   Thanks (0) Thanks(0)   Quote pjb007 Quote  Post ReplyReply Direct Link To This Post Topic: Vaildating ASP
    Posted: 12 April 2005 at 7:26am
I run my sites pages some of which are .asp through the HTML vaildator on www.w3.org.
 
If I check an ASP page online it says that it vaildated sucessfully, however sombody suggested that I save the ASP page as HTML upload it and vaildate it again, this time there were errors, why can't W3C find these with I check online?
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 12 April 2005 at 11:27am
Because when you go to an ASP online, (probably) the server will execute it and spit out the HTML, the code is invisible.  Uploading the code lets the validator see the code so it can examine even more of it.

Online validation is fine, none of your visitors will see any code problems anyway.
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 12 April 2005 at 11:53pm
Originally posted by wrote:

I save the ASP page as HTML upload it and vaildate it again, this time there were errors, why can't W3C find these with I check online?


Maybe I'm misunderstanding you, but did you just rename yourpage.asp to yourpage.html and try to validate that?

If so, then any of the ASP coding (vbscript, etc) will not function properly with a .htm or .html extension. The .asp extension tells IIS (or chilisoft) to preprocess the code as gullian mentioned. The server then renders the resulting HTML code to the browser.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.