The w3 validator clearly is not compatible with Microsoft ASP.NET code.
Here is an example - http://www.cargovango.com/start.aspx. All of the
code that it flags is generated at run time. It's nothing that a
developer adds.
It's annoying because I can never say that the code is Valid XHTML 1.0
Yes, I've encountered this before with PHP. You have to get into the source
code and fix it. It's not about what the developer adds. It's about
tweaking the ASP (or PHP or JSP or ColdFusion or PERL) code so that it spits
out valid XHTML.
PROTECTED] [mailto:css-d-
[EMAIL PROTECTED] On Behalf Of Big Moxy
Sent: Wednesday, February 06, 2008 1:41 PM
To: CSS Discussion
Subject: [css-d] ASP.NET and http://validator.w3.org/
The w3 validator clearly is not compatible with Microsoft ASP.NET
code.
Here is an example - http
Actually, I stand corrected. The validator is flagging the link to a
Spanish translator site:
a
href=http://64.233.179.104/translate_c?hl=enie=utf-8oe=utf-8langpair=en|esu=http://www.cargovango.com/prev=/language_tools;
The code generated by .NET is clean:
input type=hidden name=__VIEWSTATE
Rob,
There are some elements of .NET output a developer has no control over.
For example, this source code:
asp:DataList ID=featuredVehicleList2 RepeatColumns=3
RepeatDirection=Horizontal runat=server
ItemTemplate
a href=/VehicleDetails.aspx?id=%#DataBinder.Eval(Container.DataItem,
The code generated by .NET is clean:
input type=hidden name=__EVENTVALIDATION
id=__EVENTVALIDATION
value=/wEWEAKO/p/dAwKq3vLOBAKq3vLOBAL2xbW7DAKAiqHADgKK4PtQAuz/jNYFApfy
9JYFAqj0rMEKAru0guIEAqXDn9gHAob7rXYC3KT34AsC6rHbuwQCztGz6wgChp+xBcqi3H1
EuMYmueRpk+PhihUbpA7p
/
Not sure what
The w3 validator clearly is not compatible with Microsoft ASP.NET
code.
Here is an example - http://www.cargovango.com/start.aspx. All of the
code that it flags is generated at run time. It's nothing that a
developer adds.
That's one way to spin it!
It's probably more accurate to say
There are some elements of .NET output a developer has no control
over.
For example, this source code:
asp:DataList
Well, a developer can choose NOT to use a DataList. That said, that
somewhat defeats the RAD concepts of using ASP.net + VS.net to whip out
code.
In ASP.net 1.1 I ended up