Skip to Content.
Sympa Menu

mace-opensaml-users - RE: org.xml.sax.SAXParseException: Content is not allowed in prolog

Subject: OpenSAML user discussion

List archive

RE: org.xml.sax.SAXParseException: Content is not allowed in prolog


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Jason Pedone'" <>, <>
  • Subject: RE: org.xml.sax.SAXParseException: Content is not allowed in prolog
  • Date: Mon, 20 Sep 2004 16:13:22 -0400
  • Organization: The Ohio State University

> anyone have any ideas on what could cause this? I
> know the exception means that there are some
> unexpected characters before the root node, however I
> print out the unencoded xml before I encode it and
> there is nothing preceeding the root node. Its a
> little hard to debug where I am decoding it b/c all I
> have at that point is the base64 encoded SAML.

And you're positive there's nothing unexpected in the byte array? I can't
think of anything else that would cause it. Did you actually dump the byte
array itself after the decode?

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page