close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

W3c validation

Thread began 12/05/2012 5:06 am by clvdh | Last modified 12/11/2012 12:06 pm by clvdh | 1258 views | 4 replies |

clvdh

W3c validation

Hi,

On the insert of social buttons and by control the W3c norme, there are some troubles :
10 Errors found while checking this document as XHTML 1.0 Transitional!

Error Line 145, Column 152: an attribute value literal can occur in an attribute specification list only after a VI delimiter

…/sharer.php?u=((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Error Line 147, Column 105: an attribute value literal can occur in an attribute specification list only after a VI delimiter

…com/share?url=((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Error Line 150, Column 27: there is no attribute "size"

<g:plusone size="medium" count="false" href="((!empty($_SERVER["HTTPS…

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.
Error Line 150, Column 42: there is no attribute "count"

… <g:plusone size="medium" count="false" href="((!empty($_SERVER["HTTPS"]…

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.
Error Line 150, Column 55: there is no attribute "href"

…sone size="medium" count="false" href="((!empty($_SERVER["HTTPS"])) ? "https:/…

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.
Error Line 150, Column 80: an attribute value literal can occur in an attribute specification list only after a VI delimiter

…"false" href="((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Error Line 150, Column 80: element "g:plusone" undefined

…"false" href="((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

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).

Error Line 159, Column 144: an attribute value literal can occur in an attribute specification list only after a VI delimiter

…ur internet : ((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Error Line 161, Column 102: an attribute value literal can occur in an attribute specification list only after a VI delimiter

…ument.title, '((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVE…

Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".


How could we modify that and make it ok for the W3C normes??
Any ideas?
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Looks like you are using a static .html page and on adding the social media plugin, you selected the current page option. the current page option will only work with dynamic .php pages. on static .html pages, you need to select custom page and enter the page name.

Sign in to reply to this post

clvdh

Originally Said By: Jason Byrnes
  Looks like you are using a static .html page and on adding the social media plugin, you selected the current page option. the current page option will only work with dynamic .php pages. on static .html pages, you need to select custom page and enter the page name.  



Thank you for you answer, you are right

but still some errors :


Error Line 153, Column 33: there is no attribute "size"

<g:plusone size="medium" count="false" href="http://ns

&#9993;

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.
Error Line 153, Column 48: there is no attribute "count"

… <g:plusone size="medium" count="false" href="http://ns/~m…

&#9993;

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.
Error Line 153, Column 61: there is no attribute "href"

…sone size="medium" count="false" href="http://ns/~meublesg/v2/de…

&#9993;

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.
Error Line 153, Column 118: element "g:plusone" undefined

…se" href="http://ns/~meublesg/v2/detail-produit.php"></g:plusone>

&#9993;

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).

Sign in to reply to this post

Jason ByrnesWebAssist

Unfortunately, this is an issue with the way google coded the plus one widget, they did not make the plus one widget w3c compatible.

the google plus one widget will not be able to validate through the w3c.

Sign in to reply to this post

clvdh

Shame on Google ;-))

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...