× Joomla Facebook Connect support forum

Topic-icon W3C Validation

Active Subscriptions:

None
14 years 11 months ago #10887 by cliffkujala
W3C Validation was created by cliffkujala
How do we go about fixing the errors caused by JFBC when a website is ran through the W3C Validator?

[code]Warning Line 180, Column 56: cannot generate system identifier for general entity "task"

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
Error Line 180, Column 56: general entity "task" not defined and no default entity

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Warning Line 180, Column 60: reference not terminated by REFC delimiter

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
Error Line 180, Column 60: reference to entity "task" for which no system identifier could be generated

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Info Line 180, Column 55: entity was defined here

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';

Warning Line 180, Column 68: cannot generate system identifier for general entity "return"

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
Error Line 180, Column 68: general entity "return" not defined and no default entity

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Warning Line 180, Column 74: reference not terminated by REFC delimiter

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
Error Line 180, Column 74: reference to entity "return" for which no system identifier could be generated

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';



This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Info Line 180, Column 67: entity was defined here

var jfbcLogoutLink = '/index.php?option=com_jfbconnect&task=logout&return=Lw==';

Error Line 325, Column 21: there is no attribute "v"

The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #10888 by cliffkujala
Replied by cliffkujala on topic W3C Validation
While a search on your forum didn't provide any results, I thought to do an advanced search on Google, and now I see this has been discussed before here on the forums.

If the problems I have are still related to Facebook's side of things, so be it, but if you do see any that we can correct, any help is much appreciated.

I understand validation errors might be less important then some people make them out to be, but I have to think that having as few as possible is still a good thing.
The topic has been locked.
Support Specialist
14 years 11 months ago #10908 by alzander
Replied by alzander on topic W3C Validation
Sorry for the delayed response on this matter.

Yes, it's been discussed before, and it is something we'll be looking into again before our next big release in July. There are 2 types of validation errors that are on the page caused by JFBConnect.. those we can control (things within our extension) and those we can't (things in Facebook's Javascript library).

In the past, when we've tried to fix JFBConnect's validation errors, it's actually caused more pain than it was worth. However, Facebook seems to be handling URLs a lot better now (they used to be extremely picky) and browser standardization has come a long way over the last 6 months since we last made a stab at fixing validation errors.

I don't have a great answer for you now on a magic bullet to fix things, but hopefully, each release will see gradual improvements in this area. We likely won't fix every single one, intentionally, at first, but it is on our checklist sheet to start validating better. There will always be some problems that we simply don't have control over, but what we can control, we intend to do so.

Hope this helps,
Alex
The topic has been locked.