How-to articles, tricks, and solutions about STAX
"Content is not allowed in prolog" when parsing perfectly valid XML on GAE
The "Content is not allowed in prolog" error typically occurs when you try to parse an XML document that contains characters before the XML prolog (the <?xml ...?> declaration).