Validation (XHTML 1.0 Transitional) - Attribute..... is not a valid attribute of.....

R

Radu

Hi. I have been working at home on a web project (VSNET 2005 SP1). Now
I have brought the project at work, and I suddenly have plenty of
warnings like:

Validation (XHTML 1.0 Transitional) - Attribute..... is not a valid
attribute of.....
Validation (XHTML 1.0 Transitional) - Attribute..... is considered
outdated. A newer construct is recommended.
Validation (XHTML 1.0 Transitional) - Attribute values must be enclosed
in quotation marks.

I have VSNet2005 SP1 both at work and at home. Also, I have the same
line in both projects:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Where do these warnings come from ? How could I get rid ot them (any
option to set ?)

Thanks a lot. Alex.
 
R

Radu

Thank you !

I also found this site:
http://hsivonen.iki.fi/doctype/

so I have changed in my pages the line
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
to the line
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
....
and my warning disappeared. Still, I don't know how to explain this,
since both the original project, done at home, and the one loaded at
work, contain the same line,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Anyway, my warnings have disappeared now. Thank you again !
Alex.

Eliyahu said:
Try changing settings in Tools-Options-Text Editor-Html-Validation.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Radu said:
Hi. I have been working at home on a web project (VSNET 2005 SP1). Now
I have brought the project at work, and I suddenly have plenty of
warnings like:

Validation (XHTML 1.0 Transitional) - Attribute..... is not a valid
attribute of.....
Validation (XHTML 1.0 Transitional) - Attribute..... is considered
outdated. A newer construct is recommended.
Validation (XHTML 1.0 Transitional) - Attribute values must be enclosed
in quotation marks.

I have VSNet2005 SP1 both at work and at home. Also, I have the same
line in both projects:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Where do these warnings come from ? How could I get rid ot them (any
option to set ?)

Thanks a lot. Alex.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top