org.xml.sax.SAXParseException

The markup in the document preceding the root element must be well-formed.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3611

  • via Coderanch by Anoop Singhal, 7 months ago
    The markup in the document preceding the root element must be well-formed.
  • via Coderanch by parag dandegaonkar, 7 months ago
    The markup in the document preceding the root element must be well-formed.
  • via Icesoft by amar, 11 months ago
    The markup in the document preceding the root element must be well-formed.
  • Stack trace

    • org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056) at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626) at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:805) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948) at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85) at org.apache.soap.rpc.Call.invoke(Call.java:157) at samples.addressbook.GetAllListings.main(GetAllListings.java:102)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.