This page is likely outdated (last edited on 06 Sep 2005). Visit the new documentation for updated content.
This page should grow to describe where Mono’s ASP.NET implementation stands in terms of compliance with Web standards as defined by the W3C.
It will hopefully also eventually provide a roadmap for achieving fuller compliance.
The ultimate goal can be stated as making sure Mono’s Web platform:
- Produces well-formed XML
- Produces valid XHTML 1.1
- Does not generate ‘placeholder’ tags or other non-semantic markup
- Separates content and style (semantic XHTML and CSS, also avoiding ‘style’ attributes in favour of stylesheets)
- Encourages accessible design
Table of contents
Elements like this have no place on the Web in 2005:
<input type="hidden" name="__VIEWSTATE" value="DA0ADgEFAQ4BDQAOAwUBBQMFBQ4DDQwMDgEBB0VuYWJsZWQOAQgAAAANDAwOAQIAAA4BCAAAAA0MDA4BAgAADgEIAAAAAA==" />
(Seen in output from Mono ASP.NET)
It seems to be there to provide some kind of “stateful” browsing, but not only does it go against the spirit of the HTML standards, but also seems to make Back/Forward button behaviour even less intuitive for the average user.
‘id’ attributes can’t start with underscores. It’s the law. “id and name attributes must begin with a letter, not a digit.”
Style and content
<table id="myTable" cellpadding="2" cellspacing="1" border="2" bordercolor="blue">
This is no good.
XHTML and Accessibility in ASP.NET Whidbey: “In the end we walked away though with a plan that will enable us to output XHTML 1.1 by default.”