Solved

DotNetNuk6.2 W3c Validation error and warning

Posted on 2012-12-26
4
426 Views
Last Modified: 2013-03-06
Dear All,
     I have an errors in w3c HTML validation in my website

http://www.cbahi.net/pixel/Default.aspx?tabid=130&language=ar-LB

Error Line 467, Column 97: & did not start a character reference. (& probably should have been escaped as &.) how can i solve this error because the link is generate from the dnn code. and also this warning
Warning Line 140, Column 86: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead. it is the module name. so help me please :(
0
Comment
Question by:pixarksa
  • 2
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38721284
The name is only a warning, so if it is not convenient to change it; don't worry about it the page will validate with a warning.  

If you do not have control of the code that is generating the & then you will just have to live with it.  I have the same problem all the time with RSS feeds.  You either have to live with it or get rid of the source that is generating it.

Cd&
0
 

Author Comment

by:pixarksa
ID: 38724829
Thanks COBOLdinosaur, but my client does not need this worming also can you guide me how can i access source for & in the URL link?
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 38724974
I work in open source.I have no idea what you need to do to fix dotnetnuke code. So find the place in the dnn code where the name attribute is being generatd and either remove the name attribute or change it ti an id.  For the ampersand, find where it is being generated and change it to &

I cannot guarantee that the changes will not cause new problems, because I have not seen the code, and probably would not easily understand it if I did.

Cd&
0
 

Author Closing Comment

by:pixarksa
ID: 38957645
Ok
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flatten PDF on web server without installing anything? 2 100
PDF links 3 59
Adding a hidden div to each row in a table 6 62
android app- saved password.. 7 44
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now