Hi Tim

First, change this:

<meta http-equiv="Content-Type" content="text/xml; charset=ISO-8859-1" />

to this:

<meta http-equiv="Content-Type" content="text/xml; charset=utf-8" />

Then read this:

http://www.w3.org/TR/html4/types.html#h-6.2

Particularly this:

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

In other words, id="__VIEWSTATE" simply won't do :)

Cheers,
Robert


On Sep 28 2007, at 19:53, Tim Offenstein wrote:

I have a page I want to validate. W3C says it's valid XHTML Transitional but Tidy complains saying, "line 96 column 1 - Warning: <input> ID "__VIEWSTATE" uses XML ID syntax." The page is www.provost.uiuc.edu and because it has a XHTML DOCTYPE, I would think XML syntax should be just fine.

I am advising on this page so I don't have access to the files to change anything but wanted to research the complaint before reporting it. Any ideas what TIDY's problem is saying.

I thought preceding an ID with the double underscore might be the issue but would like a more technical explanation, particularly since W3C says it's valid.

Thanks in advance.

-Tim


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to