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 5.0 WC3 Validation Errors x 5DNN 5.0 WC3 Validation Errors x 5
Previous
 
Next
New Post
12/28/2008 8:01 PM
 

cathal connolly wrote

thanks Nina - it's 1am here now & I have to go to bed as I've an early start tommorow, so I'm unlikely to get a chance to look at anything for a bit. Tommorow I hope I can locate some hosting space and run through a larger battery of tests.

Judging by the various accounts it's safe to say that dnn 5 will validate based on certain user agents - to me it's most important it validates in IE & firefox, and that we ensure that App_Browsers works correctly to detect the W3C validator and render valid output as many users assume that it's results are definitive and don't understand that the browsing device effects the rendering.

Cathal

That's ok - It will be there when you get a chance - I really need to bring my skills up on understanding the skining procedure - the validation - well it will happen - I don't have issues on other builds - but it's interesting learning about interpretation.

Nina


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
12/28/2008 8:06 PM
 

Alex Shirley wrote

I don't know what this proves but with http://test.olsmar.com/

* I get 5 validation errors if I use the W3C Validate by URI option

* I get no errors if I save the html from the browser and use the W3C Validate by File Upload option.

?

That's right, if you use the validation directly DNN (menu) sees the w3c validator and seemingly treats it as a crawler. If you use the source, it's the source that was served to your browser and thus it is XHTML compliant.

 
New Post
12/28/2008 8:09 PM
 

Good catch Timo! (learning something new everyday...!).



Alex Shirley


 
New Post
12/29/2008 2:24 AM
 

TEST 1: THIS IS WHAT THE MENU RENDERS LIKE WHEN YOU UPLOAD THE SOURCE CODE OF THE FILE TO THE VALIDATOR - THIS CODE VALIDATES CORRECTLY.
------------------------------------------------------------------------------------------------


                        <div class="menu_style">
                            <span><span class="" id="dnn_dnnNAV_ctldnnNAV"></span></span>
                        </div>

        <input name="__dnnVariable" type="hidden" id="__dnnVariable" value="`{`SearchIconWebUrl`:`url(/images/Search/google-icon.gif)`,`SearchIconSiteUrl`:`url(/images/Search/dotnetnuke-icon.gif)`,`SearchIconSelected`:`S`,`__scdoff`:`1`,`dnn_dnnNAV_ctldnnNAV_json`:`{nodes:[{bcrumb:\`1\`,selected:\`1\`,id:\`73\`,key:\`73\`,txt:\`Home\`,ca:\`3\`,url:\`http://www.dnnbeta.com/Home/tabid/73/Default.aspx\`,img:\`\`,css:\`main_dnnmenu_rootitem_selected\`,cssHover:\`main_dnnmenu_rootitem_hover\`,cssIcon:\` \`,cssSel:\`main_dnnmenu_rootitem_selected\`,nodes:[]},{id:\`90\`,key:\`90\`,txt:\`XDUnison\`,ca:\`3\`,url:\`http://www.dnnbeta.com/XDUnison/tabid/90/Default.aspx\`,img:\`\`,css:\`main_dnnmenu_rootitem\`,cssHover:\`main_dnnmenu_rootitem_hover\`,cssIcon:\` \`,nodes:[]}]}`}" />



TEST 2: THIS IS WHAT THE MENU RENDERS LIKE WHEN TRY TO VALIDATE BY URL - THIS CODE DOES NOT VALIDATE.
------------------------------------------------------------------------------------------------

<div class="menu_style">
<span><div width="100%" class="DNNMenu main_dnnmenu_submenu" name="dnn$dnnNAV$ctldnnNAV" id="dnn_dnnNAV_ctldnnNAV">
<span name="73" id="73"><span class=" "></span><a class="main_dnnmenu_rootitem_selected main_dnnmenu_rootitem_selected" href="http://www.dnnbeta.com/Home/tabid/73/Default.aspx">Home</a></span><span name="90" id="90"><span class=" "></span><a class="main_dnnmenu_rootitem" href="http://www.dnnbeta.com/XDUnison/tabid/90/Default.aspx">XDUnison</a></span>
</div></span>
</div>


1. I AM UNSURE ABOUT HOW A SEARCH ENGINE COULD FOLLOW THE MENU LINKS IN TEST 1, AS ALL THE MENU LINKS ARE PLACED IN AN INPUT TAG AT THE BOTTOM OF THE PAGE. CAN SEARCH ENGINES DECIPHER & FOLLOW THE LINKS IN THIS JSON CODE OR DO SEARCH ENGINES SEE & FOLLOW THE LINKS IN THE TEST 2 MENU CODE? I AM A BIT CONFUSED WHY WE HAVE TO RENDER THINGS DIFFERNTLY FOR CRAWLERS & BROWSERS?

2. WHAT ADVANTAGES DOES THIS DNN MENU HAVE OVER A STANDARD UNORDERED LIST BASED MENU? I THOUGHT (BUT I COULD BE WRONG) THAT UNORDERED LIST MENUS WERE THE STANDARD IN MENU STRUCTURE? APART FROM BEING A STANDARD THE OTHER OBVIOUS ADVANTAGE OF USING UNORDERED LISTS IS THAT YOU CAN TAKE ADVANTAGE OF 1000'S OF PRE BUILT MENU LAYOUTS (INCLUDING SOME VERY POPULAR JQUERY MENUS). MAYBE I AM MISSING SOMETHING HERE BUT IS THERE ANY PARTICLAR REASON THAT DNN IS NOT USING UNORDERED LISTS TO PRODUCE IT'S MENU STRUCTURE?

Thanks in Advance ;)

 
New Post
12/29/2008 10:14 AM
 

Salama wrote
 

Why do you want a 100% w3c compliant site? If you test any popular site, it's full of errors. It doesn't stop people from using it!

Gak!  People get killed in car wrecks every day and still people drive cars.  But you wouldn't be asking "Why do you want a safer car anyway...?"

In my case, W3C compliance is a goal.  Sec 508 is a requirement.  I don't test as fully compliant in either situation, buit it's the testing tools and not the site.  My site meets every requirement for Sec 508, the testing tools don't realize it but the lawyers do.  That's what counts.  My site doesn't meet W3C compliance but a lot is due to ASP.NET.  They really aren't errors since the browsers handle them, they just don't pass the testing tools.

None of that stops me from getting as close as possible though, no matter what other sites may choose to do or not do.

Jeff

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.0 WC3 Validation Errors x 5DNN 5.0 WC3 Validation Errors x 5


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