RE: [VE][125] w3c issue - please give a solution

Hi Jukka,

Thanks a lot for ur mail. The problem is that id is automatically generated
in .net component and it violates w3c. That is why we are not able to change
that format. I think the w3c should speak to Microsoft regarding this issue.

In our company, we promise our clients that we develop w3c compliant sites,
so we have to definitely fix this single issue asap. Please revert to me at
the earliest.

Best Regards, 
Arun Premsingh R, MD & CEO

Kenriche Technologies Private Limited 
55/16, Ujjini Street, Ayanavaram
Chennai 600 023, Tamilnadu, India
T +91.44.4318.0902 
F +91.44.4261.1278
M +91.98.4008.1120

contact@kenriche.com 
www.kenriche.com

Disclaimer: Kenriche Technologies Private Limited accepts no liability for
the content of this email, or for the consequences of any actions taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. Any views or opinions presented in this
email are solely those of the author and do not necessarily represent those
of the company. 

-----Original Message-----
From: Jukka K. Korpela [mailto:jkorpela@cs.tut.fi] 
Sent: Friday, May 18, 2007 12:28 PM
To: Arun [Kenriche]
Cc: www-validator@w3.org
Subject: Re: [VE][125] w3c issue - please give a solution

On Fri, 18 May 2007, Arun [Kenriche] wrote:

> Validating http://www.digitalsolutionsltd.com/Index.aspx
> Error [125]: "value of attribute Y invalid: X cannot start a name"

I think the specific error message is rather clear:

*** QUOTE
Error  Line 80 column 44: value of attribute "ID" invalid: "_" cannot 
start a name.

...type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" 
value="/wEPDwUKLTUxNzA3MTc5

It is possible that you violated the naming convention for this attribute. 
For example, id and name attributes must begin with a letter, not a digit.
*** UNQUOTE

The value of the id attribute must be, by the formal syntax rules that the 
validator checks against, an identifier. The identifier syntax somewhat 
varies from HTML version to another, but no version allows the low line 
(underline) "_" character as the _first_ character of an identifier.

In this case, you can simply remove the attribute id="__VIEWSTATE", unless 
you use it e.g. in scripting. (It does not affect the form data at all; 
the form data is constructed from name/value pairs where the name is
specified 
in a name="..." attribute.) If it is needed, then it (and references to 
it) should be fixed so that it begins with a letter, e.g. VIEWSTATE or
ID__VIEWSTATE.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Friday, 18 May 2007 07:27:21 UTC