Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Plus one button doesn't render in XHTML using application/xhtml+xml content-type header #186

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Visit here: http://53truck.ez15loan.com/howto/fulton-spec.htm in IE 9, 
Firefox 10.x or Chrome 17.x.
2. Notice the fb button renders but the plus one button doesn't.
3. This page is in xhtml sending the correct content-type header 
application-xhtml+xml.
4. This can be verified here: 
http://redbot.org/?uri=http%3A%2F%2F53truck.ez15loan.com%2Fhowto%2Ffulton-spec.h
tm

5. Now, go here: http://53truck.ez15loan.com/howto/fulton-spec-html.htm in one 
of the same browsers.  This is the same page, only served without the xml 
declaration and with the text/html header.
6. This can be verified here: 
http://redbot.org/?uri=http%3A%2F%2F53truck.ez15loan.com%2Fhowto%2Ffulton-spec-h
tml.htm
7. The plus one button renders as expected.  Just to the right of the fb button.

What is the expected output? What do you see instead?
The plus one button to render, instead nothing appears using the 
application/xhtml+xml content-type header.

What version of the product are you using? On what operating system?
The problem occurs in IE9, Firefox 10.x, Chrome 17.x and I believe in Safari as 
well (I would have to check and get back on the version number).  The button 
renders correctly in Opera 11.x in either application/xhtml+xml or text/html.  
Have tested on both Windows XP and Vista using the same browser versions.  Have 
tested with IE 8 on XP which renders the button correctly, but only because the 
page must be sent in text/html, because IE versions <= 8 can't handle 
application/xhtml+xml content-type.

Please provide any additional information below.
Please see here: 
https://groups.google.com/forum/#!topic/google-plus-developers/Lb6Q4Govs7U
I'm using the gapi.plusone.render function.  But the same problem occurs when 
using the setattribute in javascript.

Original issue reported on code.google.com by ty47...@gmail.com on 3 Mar 2012 at 10:23

GoogleCodeExporter commented 8 years ago

Original comment by chirags@google.com on 14 Mar 2012 at 6:53

GoogleCodeExporter commented 8 years ago
This really needs sorting as it is holding me back from using xml across my 
websites which is a shame because it has some powerful uses in emerging 
technologies but is no good if social media can't work with it.

Original comment by prie...@gmail.com on 26 Oct 2012 at 9:41