Print Page | Close Window

Vaildating ASP

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14655
Printed Date: 30 March 2026 at 6:38am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Vaildating ASP
Posted By: pjb007
Subject: Vaildating ASP
Date Posted: 12 April 2005 at 7:26am
I run my sites pages some of which are .asp through the HTML vaildator on http://www.w3.org - 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?



Replies:
Posted By: Gullanian
Date 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.


Posted By: xeerex
Date 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.


-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net