Reply to Re: Prevalence of XHTML?

Your name:

Reply:


Posted by Neo Geshel on 04/17/07 22:55

Neo Geshel wrote:
> Neo Geshel wrote:
>> • Validates as XHTML 1.1
>> • Validates on all interior pages
>
> Hmmm... it seems that having <xhtmlConformance mode="Strict" /> in the
> web.config fails to throw ASP.NET 2.0 into standards compliance mode for
> the W3C Validator. As such, when the Validator grabs the page, ASP.NET
> 2.0 will litter forms with name attributes and unencapsulated input
> elements (check the source under Firefox... no name attributes or
> unwrapped input elements!!). Great, just what I wanted. NOT.
>
> So the W3C validator *will* complain on any page that has a form, but
> Firefox gets kosher XHTML and so therefore will not throw a parser
> error. Thank heavens for small miracles.
>
> I will have to ask a MCSE MVP about this one. It’s clearly an ASP.NET
> 2.0 issue and how the script handles different clients. Problem is, this
> host doesn’t allow me to access and recompile .browser files, so I can’t
> exactly fix the problem by changing the server’s recognition of the W3C
> Validator.
>
> ...Geshel

And I think I have solved the problem:

http://idunno.org/archive/2005/01/01/216.aspx

and for good measure (even though it’s not related):

http://www.kowitz.net/2006/12/11/ASPNET+20+Mozilla+Browser+Detection+Hole.aspx

Now the W3C Validator gets kosher markup from ASP.NET 2.0, and everyone
can be happy with this fully XHTML 1.1 site.

...Geshel
--
*********************************************************************
My return e-mail address is an automatically monitored spam honeypot.
Do not send e-mail there unless you wish to be reported as a spammer.
Please send all e-mail to my first name at my last name dot org, with
a subject-line of “NEWSGROUP REPLY FOR NEO GESHEL” (all uppercase).
*********************************************************************

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация