Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...W3C XHTML validation issuesW3C XHTML validation issues
New Post
5/12/2013 3:05 PM

Hi Everyone,

I have been working on several of my sites to get them to validate on w3c.

Most of my issues have been addressed except for a major issue related to the DNN DarkKnight skin and Mega Menu.


It looks like the core is doing something to the DNNMega.xslt file processing and I'm not sure where to correct it. As you will see from this snippet found in the DNNMega.xslt file, the image tag is closed properly, yet somewhere in the core, this is getting munged pretty badly with the image closing tag being removed for some reason. This is causing a cascading error effect:

DNNMega.xslt  snippet:

        <xsl:when test="@enabled = 1">
          <a href="[email protected]}">
                <xsl:if test="@icon">
                    <img src="[email protected]}" class="mmIcon" />
                <xsl:value-of select="@text" />
                <xsl:if test="node and $nodeType = 'root'">
                    <img src="{$ManifestPath}Images/child-arrow.png" class="mmArrow" alt="Down arrow" />
          <xsl:if test="@icon">
            <img src="[email protected]}" />
            <xsl:value-of select="@text" />

 Can someone please point me in the right direction. I need to have these sites validate for clients and am stuck now.

Please help.

PS - Whomever is responsible for the DNNMega Menu, they should also be aware of one problem related to this that is in the core and in my opinion should be addressed:

Original stock version with extra slash that needs to be removed. Notice the slash between "{$ManifestPath}" and "Images"

<img src="{$ManifestPath}/Images/child-arrow.png" class="mmArrow" alt="Down arrow" />

Corrected slash version:

<img src="{$ManifestPath}Images/child-arrow.png" class="mmArrow" alt="Down arrow" />

New Post
5/12/2013 3:20 PM

I also wanted to note on the DNNMega.xslt file. The original stock file is also missing the image alt tag. I added this and in my opinion, should be corrected in the stock distribution as well. This is a validation error as reported by W3C.

While I expect small things like this from small third party module vendors, having issues like this in the core should be important to the DNN company. I'm sure I'm not the only person that needs to have their DNN site validate.

Thank you for taking the time to read this.

New Post
5/13/2013 12:58 PM
Does anybody have a suggestion to correct this? No opinions of where I should start looking?

Surely somebody has tried to deal with this before??
New Post
5/16/2013 5:00 PM


 Just checking in to see if there were an update.

I noticed 99 views but nobody has any suggestions of were I should look to resolve this problems?


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...W3C XHTML validation issuesW3C XHTML validation 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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?