How To Solve XML Parsing Issue “Content is not allowed in prolog” In Java
If you have come to this post, then you are facing xml parsing issue in Java. Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) One common issue for this is BOM character. So what is a BOM (BYTE ORDER MARK) character? When you have … Read more