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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Blank link tags in souce code?Blank link tags in souce code?
Previous
 
Next
New Post
3/10/2009 5:18 PM
 

Anyone know why I would get blank link tags in the source code of a 5.0.1 site that stuff up validation?

EXAMPLE BLANK TAG:

<a name="460"></a>

VALADATION ERROR:

value of attribute "id" invalid: "4" cannot start a name

This site (not mine) also experiences the same problem:

http://www.chrisbusse.com/

 
New Post
3/11/2009 4:46 AM
 

I've noticed this problem as well.  Skins that are w3c xhtml compliant in DNN 5.0.0 are no longer compliant in DNN 5.0.01.  Something in the core code had to have been changed somewhere that has broken xhtml compliance.  Not sure if it is core code of DNN or core code for text/html module.  When there are no modules on a page, the offending tag does not appear.   It probably needs to be reported as a bug if a moderator can verify it, and see where this tag is generated from.


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
3/12/2009 3:34 PM
 

These are links that allow you to link to a module, I don't think this has changed BTW.

This is from DNN500: <a name="351"></a>

To be fullXHTML complaint we should use id="..." not  name="..."

If you use a XHTML transitional doctype it's deprecated, but not an Error I think (using Name, not id)
The change from Name to id was on focus for DNN 501, but since that's a breaking change not (yet) implemented.

Problem is that it would break all exisiting sites that use these links because you cannot start an id with a number.

The name value is now "460", the Id would become some thing like "module385" to make it XHTML compliant.

That would mean that links on existing site would stop working...

Downwards compatibility is always a challenge...


 
New Post
3/12/2009 4:32 PM
 

For those keeping score, the work item is located here.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
3/13/2009 3:09 AM
 

The change from name to id is a breaking change and it was implemented in DNN 5.0.01. 

I have skins that are validating when using DNN 5.0.0 because the <a> tag is using name and not id.  It does validate when name=1146 is used without any errors or warnings of any kind.  The doc type is xhtml 1.0 transitional.

In DNN 5.0.01 it has changed to id= and this does break validation.  This is not something that is being discussed, this was implemented.  The 5.0.0 was a fresh install, and the 5.0.1 upgrade was applied to that, which then implemented this validation breaking change.

I do not like to modify core code ever for any reason, but that would be the only way around this issue without downgrading back to 5.0.0 which would be a pain if even possible without a lot of work.

Also, the implementation of the "id" instead of "name" did not add the phrase "module" before the numbers and that is the problem with validation, "id" is not allowed to start with a number.  Which is a silly rule if you ask me and pretty pointless from my perspective but there must be a good reason for that validation rule.

So, anyway, yes, 5.0.01 did implement the <a id=1146></a> tag without the text before the module id number and it does cause validation errors, not warnings, and will not validate as it stands now without modifying the core code. 

I hope they can address this issue in the next release and decide which method is going to be used instead of a combination of both which causes validation errors.


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Blank link tags in souce code?Blank link tags in souce code?


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