473,397 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 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 10556


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. Anyone knows??? THX Unable to validate...
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 CreateChildControls() method Here is the code for 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 of the RegularExpressionValidator to the...
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 validation rather than use any custon...
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 results are returned in a SQLDataReader and...
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 error when I set the Web Gardens to 1. Please note...
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 some functionality equivalent to...
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 below when the user click on some contol in the...
4
by: thupham | last post by:
I have 2 page: index.aspx next.aspx and the code in javascript to validate Email: function fnEmail() { if(checkEmail(form1.txtEmail.value)== false) { alert("Email is not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.