W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

Re: Add Subject Here

From: Abyss - Information <info@abyss.ws>
Date: Sat, 1 Mar 2008 11:15:31 +1100
Message-ID: <000501c87b31$5ffed7d0$6401a8c0@hawkeye>
To: "olivier Thereaux" <ot@w3.org>, "Don Peters" <depeters22@sbcglobal.net>
Cc: <www-validator@w3.org>

Dear People,

Is there anywhere I can add this to a wiki or something for future 
reference? Because I have answered this same question over a dozen times - 
maybe someone can build a page or something


ASP.Net & XHTML compliance with validation.

Validation can only happen in ASP.Net 2.0 or above


"web.config" should contain this line located in the <system.web>

<xhtmlConformance mode="Strict"/>

but then you need to


"app_browsers" folder and place   the file "w3cvalidator.browser" in that 
folder

the file can be found here
http://idunno.org/archive/2005/01/01/216.aspx

if that is a dead link just google the file name....


Regards
Abyss






----- Original Message ----- 
From: "olivier Thereaux" <ot@w3.org>
To: "Don Peters" <depeters22@sbcglobal.net>
Cc: <www-validator@w3.org>
Sent: Saturday, March 01, 2008 8:08 AM
Subject: Re: Add Subject Here



Hi Don,

On Feb 29, 2008, at 13:18 , Don Peters wrote:

> I am getting 1 error on www.heinzbikeandski/bike.aspx.
>
> But the validation is saying:
> Line 53, Column 108: there is no attribute "border".
> Örc="Images/prestige2008t.jpg" border="0" />
The Validator is validating whatever it receives... In this case, it's
receiving broken markup because ASP.net, by default, sends mangled
HTML to "browsers" it doesn't know.

Details:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3734
> Its border-width, not border, and I donít think I am doing anything 
> wrong.

No, you're not. ASP.net is.
There's a fix in the bugzilla page, which you may want to try.
If not, you could always ask Microsoft's customer support why ASP.net
is broken...

Regards,
-- 
olivier
Received on Saturday, 1 March 2008 00:16:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT