W3C home > Mailing lists > Public > www-validator@w3.org > June 2009

Question regarding W3C validator and ASP.NET

From: Matt Salmon <matt.salmon@mandogroup.com>
Date: Tue, 2 Jun 2009 09:22:08 +0100
Message-ID: <43A63CC10F7B7A4F8047164FB549B32B028ADF72@application-01.mandogroup.com>
To: <www-validator@w3.org>
Can anyone help me with a query regarding validation of asp.net pages.
I've searched these mailing lists but nobody seems to have answered this
exact question.

 

Basically, ASP.NET 2.0 can enhance the way pages are rendered in order
to conform with xhtml 1.0 strict, using a configuration setting. This
has the effect of removing the 'name' attribute from the form element,
wrapping the hidden asp.net fields in a 'div' element and some other
changes.

 

The issue with the hidden fields is that the ID's start with an
underscore character e.g "__VIEWSTATE", however what I can't understand
is how wrapping the fields in an outer 'div' results in a 'pass' from
the validation service? Surely the ID's still start with an underscore
character regardless of the fact they're in a containing element?

 

Can anyone shed any light on this?

 

Matt Salmon
Head of Programming 

 

Liverpool Science Park
131 Mount Pleasant
Liverpool L3 5TF 

t: +44 (0) 845 365 4040
f: +44 (0) 845 365 4041
w: www.mandogroup.com <http://www.mandogroup.com/>  

Mando Group Ltd
Registered in England 04391789 

 

________________________________

The contents of this email are strictly private and confidential and are
intended solely for the named addressee[s] only. If you are not the
intended recipient, you should not copy it or use it for any purpose,
nor disclose its contents to any other person and you should return this
message to the sender and delete it from your mailbox. The views and
opinions expressed in this email do not necessarily represent those of
Mando Group. Please note that whilst Mando Group does check for viruses,
it is the responsibility of the recipient to scan all messages prior to
opening them. 

________________________________

 





image001.gif
(image/gif attachment: image001.gif)

image002.gif
(image/gif attachment: image002.gif)

Received on Tuesday, 2 June 2009 08:27:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:35 GMT