Topic-icon W3C Validation Errors

Active Subscriptions:

None
14 years 7 months ago #15162 by localsgaming
validator.w3.org/check?uri=www.localsgam...ctype=Inline&group=0

If I remove/disable the component these go away, are there known errors or should I look through my template for other html errors that could be contributing to this?

Do these type of errors cause any issues with seo/indexing or browser errors?

Thanks in advance,

www.localsgaming.com
The topic has been locked.
Support Specialist
14 years 7 months ago #15167 by alzander
Replied by alzander on topic W3C Validation Errors
Some of them can be problematic, and there's a few ways to fix the issues. Please post from the account you subscribed from so we know what version of JFBConnect you're using and how to prioritize your support. Priority support is for subscribers only.

To get rid of most of the validation errors, there's likely just a minor modification to required, but again, we'd need to know your version of JFBConnect to provide you with the right code change.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #15169 by trofre
Replied by trofre on topic W3C Validation Errors
Ok, this is the one I purchased with.
The topic has been locked.
Support Specialist
14 years 7 months ago #15176 by alzander
Replied by alzander on topic W3C Validation Errors
Looking at your account, you're relatively recent, so I'm assuming you're at least on JFBC 4.0. If so, if you can make the following change below, that should fix up a bit of the validation errors. There will still likely be some, but you can safely ignore them. The ones that you're seeing in 4.0 really shouldn't be causing problems either, but less is always better. In 4.1, we'll be adding this change as well to make things a little cleaner for everyone.

In the /plugins/system/jfbcsystem/jfbcsystem.php file, at line 71, you'll see:
$body = str_replace("<html ", '<html xmlns:fb="http://www.facebook.com/2008/fbml" '.$openGraphNamespace, $body);
Modify/replace the fbml URL so it looks like below:
$body = str_replace("<html ", '<html xmlns:fb="http://ogp.me/ns/fb#" '.$openGraphNamespace, $body);

Hope that helps, but if you run into anything else, just let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15563 by henker
Replied by henker on topic W3C Validation Errors
i need your w3c backup too please :-)
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15564 by matsch1
Replied by matsch1 on topic W3C Validation Errors
thats my purchased acc.
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15565 by matsch1
Replied by matsch1 on topic W3C Validation Errors
Validation Output: 11 Errors

Line 4, Column 96: cannot generate system identifier for general entity "return"
…tp://www.mashcars.de/component/jfbconnect/?task=loginFacebookUser&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 &aelig; 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.

Line 4, Column 96: general entity "return" not defined and no default entity
…tp://www.mashcars.de/component/jfbconnect/?task=loginFacebookUser&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.

Line 4, Column 102: reference not terminated by REFC delimiter
…tp://www.mashcars.de/component/jfbconnect/?task=loginFacebookUser&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.

Line 4, Column 102: reference to entity "return" for which no system identifier could be generated
…tp://www.mashcars.de/component/jfbconnect/?task=loginFacebookUser&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.

Line 4, Column 95: entity was defined here
…tp://www.mashcars.de/component/jfbconnect/?task=loginFacebookUser&return=Lw==';
Line 6, Column 25: there is no attribute "property"
</script><meta property="og:url" content="www.mashcars.de/"/>

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 27, Column 26: character ";" not allowed in attribute specification list
for (i = 0; i<imgs.length; i++){

Line 27, Column 26: element "imgs.length" undefined
for (i = 0; i<imgs.length; i++){

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
Line 34, Column 12: end tag for "imgs.length" omitted, but OMITTAG NO was specified
});</script><!--[if lt IE 7]><div style=' clear: both; text-align:center; posit…

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 27, Column 14: start tag was here
for (i = 0; i<imgs.length; i++){
Line 49, Column 2481: document type does not allow element "style" here
…"><div id="sidebar-1" ><div class="moduletable"><style type="text/css">.panel {

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 149, Column 389: there is no attribute "size"
…="1" /> </form><fb:login-button size="small" scope="email,publish_stream" onl…

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 149, Column 403: there is no attribute "scope"
…m><fb:login-button size="small" scope="email,publish_stream" onlogin="javascri…

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 149, Column 434: there is no attribute "onlogin"
… scope="email,publish_stream" onlogin="javascript:jfbc.login.login_button_clic…

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 149, Column 479: element "fb:login-button" undefined
…ript:jfbc.login.login_button_click();">Mit Facebook einloggen.</fb:login-butto…

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
The topic has been locked.
Support Specialist
14 years 6 months ago #15587 by alzander
Replied by alzander on topic W3C Validation Errors
Matthias,
We're working on some improvements to the validation of jfbconnect for the next release. Fixing some of those issues is actually pretty easy to do, but can cause problems in many browsers, especially mobile ones.. So it's not something we've focused on fixing in the past due to the other problems it can cause. While validation issues can be annoying, few sites fully validate, including google.com. Google has also stated that they do not penalize sites that don't validate, just so you know.

Rest assured, we do want to improve our validation, but a lot of testing goes into each release, and the current output we have is the most widely compatible with all browsers and SEF extensions for Joomla, which is our primary goal.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17142 by dadtalk
Replied by dadtalk on topic W3C Validation Errors
hi i need the validated code also. I had purchased the component with my id "dadtalk" and the validation URL is validator.w3.org/check?uri=http%3A%2F%2F...=W3C_Validator%2F1.2
The topic has been locked.
Support Specialist
14 years 5 months ago #17151 by alzander
Replied by alzander on topic W3C Validation Errors
The upcoming 4.1 release has improvements for validation. There will still likely be some warnings on the page, but it should be better. If you feel you're experiencing any issues because of validation problems, please let us know and we'll gladly investigate. Generally though, we've heard of no circumstances where any validation warnings from JFBConnect have caused browser, search engine, or any other type of problems.

4.1 is expected to be available next week.

Thanks,
Alex
The topic has been locked.