XHTML 1.0 Strict compatibility

Discussion in 'ASP.NET 2.0' started by jamesgurung, Jul 6, 2007.

  1. I am struggling to make my site compatible with the XHTML 1.0 Strict document type. For simplicity, consider the page www.bodeites.com/oldbodeites.aspx as there's not much there so the W3C Markup Validator will basically only check the master page.

    After some cleaning up, I've got it down to 3 errors:
    validator.w3.org/check?uri=http%3A%2F%2Fwww.bodeites.com%2Foldbodeites.aspx

    The problem is that I think these are all caused by ASP.NET, rather than me.
    This is despite my specification in web.config:

     
  2. What happens if you remove the xhtmlConformancesetting and default to "Transitional"?

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. It makes no difference at all, at least not as far as the Validator can pick up. I'm surprised because I've read quite a few articles/posts saying that setting xhtmlConformance to Strict solved the problem.
     
  4. I have resolved this issue by adding a .browser file to specify the W3C Validator's capabilities.
     

Share This Page