472,328 Members | 1,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

validate aspx page.

Hello,
I know about the validator on : http://validator.w3.org
, which can validate html pages.

I just new to this validator.

How can I validate (if it can be - by this validator) aspx pages, and asmx
pages ?

Thanks :)
Nov 18 '05 #1
4 10009


Mr. x wrote:
Hello,
I know about the validator on : http://validator.w3.org
, which can validate html pages.

I just new to this validator.

How can I validate (if it can be - by this validator) aspx pages, and asmx
pages ?


Well the validator has an interface to enter a URL so enter
http://www.yourserver.tld/yourdir/yourpage.aspx
and it will validate the HTML your .aspx page creates. Make sure your
page includes a DOCTYPE declaration of the document type against you
want to validate.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #2
That's right,
but how can I validate the whole *.aspx file as is (and so what about *.asmx
file / web-service file , which is always on the server, and doesn't take
place of creating page to the client ) ?

Thanks :)

"Martin Honnen" <Ma***********@t-online.de> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...


Mr. x wrote:
Hello,
I know about the validator on : http://validator.w3.org
, which can validate html pages.

I just new to this validator.

How can I validate (if it can be - by this validator) aspx pages, and asmx pages ?


Well the validator has an interface to enter a URL so enter
http://www.yourserver.tld/yourdir/yourpage.aspx
and it will validate the HTML your .aspx page creates. Make sure your
page includes a DOCTYPE declaration of the document type against you
want to validate.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #3


Mr. x wrote:
That's right,
but how can I validate the whole *.aspx file as is (and so what about *.asmx
file / web-service file , which is always on the server, and doesn't take
place of creating page to the client ) ?
An .aspx file can't be validated against a HTML document type definition
as an .aspx file contains things like
<%@ Page %>
and
<asp:Label>
etc which are not part of HTML. So validation of an .aspx file as HTML
doesn't make any sense.
It only makes sense to validate the output of your .aspx page.

"Martin Honnen" <Ma***********@t-online.de> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...

Mr. x wrote:

Hello,
I know about the validator on : http://validator.w3.org
, which can validate html pages.

I just new to this validator.

How can I validate (if it can be - by this validator) aspx pages, and
asmx
pages ?


Well the validator has an interface to enter a URL so enter
http://www.yourserver.tld/yourdir/yourpage.aspx
and it will validate the HTML your .aspx page creates. Make sure your
page includes a DOCTYPE declaration of the document type against you
want to validate.

--

Martin Honnen
http://JavaScript.FAQTs.com/



--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #4
Martin Honnen wrote :
An .aspx file can't be validated against a HTML document type definition
as an .aspx file contains things like
<%@ Page %>
and
<asp:Label>
etc which are not part of HTML. So validation of an .aspx file as HTML
doesn't make any sense.
It only makes sense to validate the output of your .aspx page.


I may have also errors on my page (I find that by <%@ page debug = "true" %>
i can debug my code,
but what about web-services (*.asmx) ?

Thanks :)
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: FabFreddy | last post by:
Hi, I can't find out what the problem is with the error message below! I get it when I go from one to another page with controls in these pages....
5
by: Jeff Evans | last post by:
I have a custom composite control which has a validator for a textbox. The validator and textbox are declared in the class and created in the...
11
by: wolf | last post by:
There are three webcontrol on my asp.net form: a TextBox, a submit button and a RegularExpressionValidator. And I had set ControlToValidate property...
3
by: Martin | last post by:
Hi, I am implemeting a form in asp.net. The form is quite large and the validation is reasonably complex, so I have decieded to implement my own...
5
by: sjl | last post by:
I've got an .aspx webform for searching my database. It basically takes user input and passes it as a parm into a stored proc to search a table. The...
0
by: BuddyWork | last post by:
Hello, When setting the Web Gardens to 3 and I start browsing one of my asp.net page I get the following error shown below. I don't get the...
1
by: Joey | last post by:
Does anyone know how to validate only one certain control in server side code on postback? Instead of Page.Validate() and Page.IsValid, is there...
6
by: Solje | last post by:
Im developing an ASP.NET application used for maintinance purpose and it may be idle for some ours. The application crash with the error shown...
4
by: thupham | last post by:
I have 2 page: index.aspx next.aspx and the code in javascript to validate Email: function fnEmail() { ...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.