AlexKovic / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

Error during discovery #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get an open id web page where the html tag contains the following :
<html dir='ltr' xmlns='http://www.w3.org/1999/xhtml'
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'>
2. Instanciate a ConsumerManager object manager
3. Call manager.discover("myopenidwithafunnyhtmlheader")

What is the expected output? What do you see instead?
I would expect a list of valid string.
Instead, I get an exception 
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to
insert a node where it is not permitted. 

What version of the product are you using? On what operating system?
I am using the latest one retrieved from SVN

Please provide any additional information below.

The exception is raised CyberNekoDOMYadisParser.getHtmlMeta
when try to get the head of the document  :

        HTMLHeadElement head = (HTMLHeadElement)doc.getHead();

Original issue reported on code.google.com by olebe...@gmail.com on 16 Sep 2008 at 5:08

GoogleCodeExporter commented 8 years ago
Can you tell me which revision(svn info)?

Is this fixed in http://code.google.com/p/openid4java/issues/detail?id=69 ?

Original comment by zhoushu...@gmail.com on 16 Sep 2008 at 6:33

GoogleCodeExporter commented 8 years ago
Hello.

Thank you for the quick reply.
I think I was having revision 487, even if I am not sure how to get this info
using Tortoise SVN plugin. In any case, I saw that there was something new in 
the
trunk and it might solve the problem.
I will check that and let you know. Sorry to have bother you before checking
that I was having the latest release.

Regards.
Olivier

Original comment by olebe...@gmail.com on 17 Sep 2008 at 7:50

GoogleCodeExporter commented 8 years ago
Hello again.

So, I checked, and now, it works perfectly.
It is obviously the same as 
http://code.google.com/p/openid4java/issues/detail?id=69 .

Thanks again for your quick reply 
and sorry for bothering you for nothing.

Regards.
Olivier.

Original comment by olebe...@gmail.com on 17 Sep 2008 at 8:42

GoogleCodeExporter commented 8 years ago
Duplicate. See issue 69.

Original comment by zhoushu...@gmail.com on 17 Sep 2008 at 11:31