Solved

Trying to validate a asp page problem with <%

Posted on 2013-06-26
3
1,211 Views
Last Modified: 2013-06-26
I am trying to validate and asp page with W3C
I have this:
The script:
<% dim Name
dim email
dim comment
%>

<% Name = request("name")
email = request("email")
comment = request("comment")
%>
I get these errors:
 Bad character % after <. Probable cause: Unescaped <. Try escaping it as &lt;.

<% dim Name
and this

Error Line 36, Column 2: Bad character % after <. Probable cause: Unescaped <. Try escaping it as &lt;.

What is wrong ?
0
Comment
Question by:isnoend2001
  • 2
3 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39280292
When you are trying to validate the page, you have to validate the rendered html, not your asp/vb server side code.

Either upload your page to your server and enter the url of the page, or view source and copy then paste to the 3rd tab where you can paste your rendered html.
0
 

Author Closing Comment

by:isnoend2001
ID: 39280298
Thanks I will remember that
0
 

Author Comment

by:isnoend2001
ID: 39280310
the validator like me now
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question