Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN and XHTML compliance issuesDNN and XHTML compliance issues
Previous
 
Next
New Post
1/30/2006 11:10 PM
 

I'm a very experienced programmer and application designer, but I'm new to DNN (using 4.01) and fairly new to ASP.Net.  I'm learning it while using VS 2005.

I noticed that some of the html that was being built has this header:

[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"]

But VS 2005 is complaining that many of the actual pages in DNN do not conform to this standard.

For example, tags without ending / marks, such as [br] or [hr], tag attributes that have unquoted values, [img] tags without alt attributes, etc.  As a learning exercise, I went thru the source code to try to fix as many of these issues as I could. 

Assuming folks on the DNN team are interested in these changes, how do I go about joining the DNN effort and submitting the changed code? 

There are also a lot of deprecated attribute tags in the source.  Is there any interest in updating them to the newer standard, or do they need to be kept in place for legacy browsers?

Thanks in advance

 
New Post
1/31/2006 10:44 AM
 

I've done the same thing, gone through all the code and fixed all of the non compliant tags I could find.  I'm working on all the nesting and redundant tags now.  There is one error that I can't seem to get rid of and I just really hate the giant sized hidden form value _viewstate.

I've also got a module in the works that take all of the CSS files and merges them into one along with any inline css it finds.

I started doing this after I noticed in firefox that one of my sites used 6 different CSS files, inline CSS had 274 HTML warnings and 4 errors.


Paul Davis
 
New Post
2/1/2006 10:14 AM
 
This is an issue that I have run into recently when creating a pure CSS layout skin. You can read more about CSS in DNN at this forum thread: http://forums.asp.net/718428/ShowPost.aspx

Problems arose in that the current DOC type puts browsers into quirks mode. - In order to get Opera to display correctly I had to change the DOC type to put the browsers in Standard mode. - This then raises issues if you put any skins on your portal that are reliant on the quirks mode and it also causes problems with the SolPart menu - but I got around this by using a pure CSS menu.

It's an interesting topic - you even need to check the default skins as there are open tags, capitals, etc. within the Default DNN skins as well.

Lee Sykes - DNN Creative Magazine - 600+ Video Tutorials, Articles, Interviews - July Issue 58 out now!
DNN Creative Magazine for DotNetNuke

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
 
New Post
2/9/2006 5:32 PM
 

I was surprised as well to find out that DNN-sites perform so bad with the w3-validator (http://validator.w3.org). It isn't too hard to make it even XHTML-compliant (especially in the ASP.NET 2.0 version). Why not always place ending marks, make all tags/elements lowercase, always use quotation-marks and put formatting in style-elements? It takes about two hours to take away 90% of all problems. But as soon as you install a new release, you can start all over. So it would be great if the next version would be XHTML (or at least HTML 4.0) compliant from install.

For some reason most third-party modules use a lot of messy HTML as well, so there is a lot of more work to do.

Another problem is the rich-text editor. It even removes closing-tags from <br /> statements and makes all HTML uppercase.

If I can be of any assistence to the development-team on this matter I am too absolutely willing to help.

 
New Post
2/20/2006 2:26 PM
 

I don't know if this helps; but I read the following at Microsoft:

If you submit an ASP.NET Web page to a validation service such as the W3C Markup Validation Service, ASP.NET might render a version of the page that does not conform to XHTML standards. This is because the validator service does not report itself as a browser type that ASP.NET recognizes, such as Internet Explorer or Mozilla. When ASP.NET cannot recognize the browser type, it defaults to rendering downlevel markup, which does not include XHTML-conformant elements and attributes, or features such as cascading style sheet styles.

You can configure your application to send the correct XHTML-conformant markup ....

read more at:

http://msdn2.microsoft.com/en-us/library(d=robot)/exc57y7e.aspx

Fitz

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN and XHTML compliance issuesDNN and XHTML compliance issues


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out