Invalid XML Exception

Cantor, Scott cantor.2 at osu.edu
Mon Apr 11 11:05:42 EDT 2016


> Finally, I just reversed my direction. I took the AuthnRequest for IdP1 and
> changed the POST destination in the HTML form to be IdP2. That throws the
> “Invalid XML Exception”. I think at least that is some consistency. The SP web
> page that sends a request to IdP1 fails with the same exception no matter
> which actual IdP I send the content to.
> 
> Any thoughts on determining the real error are appreciated.

I would think there has to be a hidden character in the XML messing things up. Maybe the SP has something embedded in the configuration its using causing it to generate requests for that one IdP badly.

I guess it's hex editor time, basically.

You could also run the XML through libxml2's utilities I guess, xmllint and that sort of thing, provided you dump it as is from the base64. Even vi might show something.

-- Scott



More information about the users mailing list