[MACCAWS] XHTML and ASP.NET

"tgmcmillen" <[email protected]> Wed, 11 Sep 2002 10:43:40 -0000
Newsgroups gmane.comp.web.vkit
Message-ID <[email protected]>
I have started playing with ASP.Net, and would love to use standards
like XHTML.

Then I add in the ASP.Net stuff to find out that there is no way to
control what it spits out, and the first thing it does is 

<form name="_ctl0"

There are lots of similar problems if you want to code to standards
but use ASP.Net

for example a text label may be written out by the ASP.Net parser as

<span style="color:red">HelloWorld</span>

or for other browsers

<font color="red">HelloWorld</font>

So if you are approching anyone who uses ASP.Net, it may not be
technically possible for them to code to the latest standards.
Microsoft have written ASP.Net to enable a page to be displayed so
that is looks the same on all clients - but in the process have thrown
away any chance of writing something with a DOCTYPE at the top of the
page. In one way it's very clever, but by not giving an option to
procuce consistent output code it's also very very stupid.

As it's from MS though, why am I not surprised it's impossible to
write stuff to open standards?

t