“Content is not allowed in prolog” when parsing perfectly valid XML on GAE

The encoding in your XML and XSD (or DTD) are different.XML file header: <?xml version=’1.0′ encoding=’utf-8′?>XSD file header: <?xml version=’1.0′ encoding=’utf-16′?> Another possible scenario that causes this is when anything comes before the XML document type declaration. i.e you might have something like this in the buffer: or even a space or special character. There are some … Read more