Closed GoogleCodeExporter closed 9 years ago
I'm having the same error (using the trunk), it seems to be due to XRI
resolution error.
Could be due to incomplete XML catalog or XML parser version ?
Original comment by nicolas....@gmail.com
on 26 Jul 2010 at 4:27
After further investigations, disabling the validation and schema declarations
works.
So I checked the XML parser used, and for some reason I was using an old
version of xerces.
Using xerces 2.6+ solves the problem.
PS: In my environment it's quite easy to upgrade xerces, though I guess it may
be impossible for some people for whatever reason, it would be nice to disable
XML validation.
Original comment by nicolas....@gmail.com
on 26 Jul 2010 at 5:08
I am still having this problem, even though I am using xerces 2.8.1
I am using Caucho Resin with Xerces set as the DocumentBuilder/SaxParser
factories.
My stacktrace is like such:
[16:31:46,105] ERROR - "Error constructing AuthRequest for OpenId Auth" - http--
8081-7 com.mnp.mc.openid.sso.OpenIdConsumerManager.authRequest:?
org.openid4java.discovery.DiscoveryException: 0x70d: Error parsing XML document
at org.openid4java.discovery.xrds.XrdsParserImpl.parseXmlInput(XrdsParse
rImpl.java:197)
at org.openid4java.discovery.xrds.XrdsParserImpl.parseXrds(XrdsParserImp
l.java:50)
at org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(Ya
disResolver.java:409)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.
java:233)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.
java:221)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.
java:179)
at org.openid4java.discovery.Discovery.discover(Discovery.java:134)
at org.openid4java.discovery.Discovery.discover(Discovery.java:114)
at org.openid4java.consumer.ConsumerManager.discover(ConsumerManager.jav
a:527)
at com.mnp.mc.openid.sso.OpenIdConsumerManager.authRequest(Unknown Sourc
e)
and also this...
Caused by: org.xml.sax.SAXParseException: s4s-att-invalid-value: Invalid attribu
te value for 'targetNamespace' in element 'schema'. Recorded reason: cvc-datatyp
e-valid.1.2.1: 'xri://$xrd*($v*2.0)' is not a valid value for 'anyURI'.
Any help with this would be greatly appreciated.
Original comment by sull...@gmail.com
on 16 Nov 2011 at 12:50
I had the exact same error. It appeared that I had multiple versions of xcerces
in the .war file. Removing the old one fixed the problem.
Original comment by erikskog...@gmail.com
on 29 Nov 2011 at 3:08
I have problem similar to that sull...@gmail.com
I am using Xerces 2.11.0 on Linux and neither I have any other Xerces files.
Any help would be greatly appreciated.
Original comment by rpriyank...@gmail.com
on 28 May 2012 at 9:47
I'm running my application from localhost and currently it doesn't have a
domain name. Could that be a reason for failure in discovery process?
Original comment by rpriyank...@gmail.com
on 17 Aug 2012 at 2:19
Original comment by Johnny.B...@gmail.com
on 31 Oct 2012 at 11:56
I fixed the issue by updating the version of xmlParserAPIs and xercesImpl from
2.5 to 2.6.x.
Original comment by enricogi...@gmail.com
on 20 May 2013 at 2:00
Original issue reported on code.google.com by
Zoram...@gmail.com
on 17 Jul 2010 at 4:44