keywords: xerces feedparserexception feedparser prolog feed
text: Xerces 2.6.1 and BOM \\XML which is UTF-16 encoded is supposed to have a prolog (first two bytes)\called a BOM  of FF FE to signal that the feed you're about to parse is\multibyte.  The only problem is that (and get this) Xerces doesn't support this\prolog!\\"Exception in thread "main" org.apache.commons.feedparser.FeedParserException:\org.jdom.JDOMException: Error in building from stream: Content is not allowed\in prolog.: Content is not allowed in prolog."\\Sam Ruby was nice enough to put out a bunch of unit tests  for UTF-16 and\they won't even parse within Xerces.\\...\