469,572 Members | 1,198 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

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 9148


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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by FabFreddy | last post: by
5 posts views Thread by Jeff Evans | last post: by
11 posts views Thread by wolf | last post: by
3 posts views Thread by Martin | last post: by
reply views Thread by BuddyWork | last post: by
6 posts views Thread by Solje | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.