When validating for XHTML you need to ensure the & in URLs is encoded as
&

In your case that would mean using:
    http://platform.twitter.com/anywhere.js?id=4MefUUvPXcQdIm30HhQ&v=1
and

http://www.twitter.com/share?url=minha_url&text=meu_texto&count=horizontal&via=fabriciorgomes

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Jan 12, 2011 at 5:46 PM, Fabricio Gomes <
[email protected]> wrote:

> --- portuguese version
> Estou utilizando o Tweet Button na minha pagina web e está causando os
> seguintes erros no W3C Validator:
>
> cannot generate system identifier for general entity "v"
> general entity "v" not defined and no default entity
> reference not terminated by REFC delimiter
> reference to entity "v" for which no system identifier could be
> generated
> entity was defined here
>
> tudo por causa da linha
>
> …script src="http://platform.twitter.com/anywhere.js?
> id=4MefUUvPXcQdIm30HhQ&v=1"
>
> utilizo o modelo através da url no link, no formato
>
> <a class='twitter-share-button' href='www.twitter.com/share?
>
> url=minha_url&amp;text=meu_texto&amp;count=horizontal&amp;via=fabriciorgomes'>Tweet</
> a>
>
> O que eu posso fazer para validação no W3C?
>
> Obrigado
>
> --english version
> I'm using Tweet Button on my web page and is causing the following
> errors in the W3C Validator:
>
>  can not generate system identifier for general entity "v"
>  general entity "v" not defined and the default entity
>  reference not terminated by delimiter REFCO
>  reference to entity "v" Which is the system generated identifier
> Could Be
>  entity was defined here
>
>  all because of the line
>
>  ... script src = "http://platform.twitter.com/anywhere.js?
> id=4MefUUvPXcQdIm30HhQ&v=1"
>
>  i use the model with a url in link, like
>
>  <a class='twitter-share-button' href='www.twitter.com/share?
> url=my_url&text=my_text&count=horizontal&via=fabriciorgomes'>Tweet</
> a>
>
>  What can I do to the W3C validation?
>
> Thanks!
>
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to