title: What is XML BOM and how do I detect it?
body: <p>What exactly is the BOM in a ANSI XML document and should it be removed?   Should a XML document be in UTF-8 instead?  Can anyone tell me a Java method that will detect the BOM?    The BOM consists of the characters EF BB BF .</p>