HighDots Forums  

XHTML validation and asp.net

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss XHTML validation and asp.net in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
brettmckinney
 
Posts: n/a

Default XHTML validation and asp.net - 11-01-2005 , 01:30 PM






When I run the xhtml validator in Dreamweaver 8, it shows all the asp.net tags
as invalid. Now I know that asp.net tags are not valid xhtml tags, but
Dreamweaver should reconize that these are server-side tags, shouldn't it?
Otherwise, a typical page will show numerous validation errors.

Any know work around for this?

Thanks,
Brett


Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: XHTML validation and asp.net - 11-01-2005 , 01:57 PM






Quote:
When I run the xhtml validator in Dreamweaver 8, it shows all the asp.net
tags
as invalid. Now I know that asp.net tags are not valid xhtml tags, but
Dreamweaver should reconize that these are server-side tags, shouldn't it?
You'd think so. Is your page extension .aspx?

If not, just validate the page from the server...which you should do
anyways, since the markup that matters is the markup that comes AFTER the
page is pre-processed by the server.

-Darrel




Reply With Quote
  #3  
Old   
brettmckinney
 
Posts: n/a

Default Re: XHTML validation and asp.net - 11-01-2005 , 02:05 PM



Yep, it's an .aspx page. Validating on the server-side is fine, I just found
it a bit annoying that the built-in validator can't recognize server tags and
ignore them. Is it just me?

Oh well.

Thanks,
Brett


Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: XHTML validation and asp.net - 11-01-2005 , 02:36 PM



..oO(brettmckinney)

Quote:
Yep, it's an .aspx page. Validating on the server-side is fine, I just found
it a bit annoying that the built-in validator can't recognize server tags and
ignore them. Is it just me?
Probably. What if all the HTML in a page is generated by a script and DW
ignores these "server tags" - what would be left for validation? If you
use scripting then these scripts _must_ be executed before validating
their output.

Micha


Reply With Quote
  #5  
Old   
Tom Muck
 
Posts: n/a

Default Re: XHTML validation and asp.net - 11-01-2005 , 02:41 PM



brettmckinney wrote:
Quote:
Yep, it's an .aspx page. Validating on the server-side is fine, I just found
it a bit annoying that the built-in validator can't recognize server tags and
ignore them. Is it just me?
Built in validators are almost useless. They use computer resources
(slows down Dreamweaver) and are highly inaccurate. Better to use a
validator AFTER the page is served.

--
Tom Muck
http://www.tom-muck.com/


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.