Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Validation (XHTML 1.0 Transitional) - Attribute..... is not a valid attribute of.....

Reply
Thread Tools

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

 
 
Radu
Guest
Posts: n/a
 
      01-03-2007
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.

 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      01-03-2007
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" <> wrote in message
news: oups.com...
> 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.
>



 
Reply With Quote
 
 
 
 
Radu
Guest
Posts: n/a
 
      01-03-2007
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 Goldin wrote:
> 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" <> wrote in message
> news: oups.com...
> > 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.
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attribute 'ms_2d_layout' is not a valid attribute of element 'table' CdnRebel ASP .Net 4 07-04-2007 06:56 PM
Attribute 'onchange' is not a valid attribute of element 'TextBox' Joe Kovac ASP .Net 2 05-02-2007 01:11 PM
Validation (XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'table' perspolis ASP .Net 1 01-23-2007 07:57 AM
Attribute 'ms_2d_layout' is not a valid attribute of element 'tabl =?Utf-8?B?TWFyaw==?= ASP .Net 4 12-14-2006 06:39 AM
Validation (XHTML 1.0 Transitional): Attribute 'leftmargin' is not a valid attribute of element 'body'. anonymous ASP .Net 1 08-02-2006 08:05 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57