org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.

Oracle Community | 666705 | 1 decade ago
  1. 0

    org.xml.sax.SAXParseException: The markup in the document preceding the roo

    Oracle Community | 1 decade ago | 666705
    org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
  2. 0

    db:: 4.66::The markup must be well-formed. z3

    hivmr.com | 8 months ago
    org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Lehman Brothers are developing an application which uses jira REST styled service to download jira RSS feed and parse it. However, we find the RSS feed having invalid XML characters in some of the queries, which causes the xml parser to fail. We see the following exception in log when we try to parse xml: org.xml.sax.SAXParseException: Character reference "&#1a" is an invalid XML character. at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189) at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:63) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:53) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:49) at com.lehman.jira.nugget.viewFilterServlet.printJiraIssues(viewFilterServlet.java:219) at com.lehman.jira.nugget.viewFilterServlet.doGet(viewFilterServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Atlassian JIRA | 10 years ago | Tim Pettersen [Atlassian]
    org.xml.sax.SAXParseException: Character reference "&#1a" is an invalid XML character.
  5. 0

    Lehman Brothers are developing an application which uses jira REST styled service to download jira RSS feed and parse it. However, we find the RSS feed having invalid XML characters in some of the queries, which causes the xml parser to fail. We see the following exception in log when we try to parse xml: org.xml.sax.SAXParseException: Character reference "&#1a" is an invalid XML character. at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189) at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:63) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:53) at org.codehaus.swizzle.jira.JiraRss.<init>(JiraRss.java:49) at com.lehman.jira.nugget.viewFilterServlet.printJiraIssues(viewFilterServlet.java:219) at com.lehman.jira.nugget.viewFilterServlet.doGet(viewFilterServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Atlassian JIRA | 10 years ago | Tim Pettersen
    org.xml.sax.SAXParseException: Character reference "&#1a" is an invalid XML character.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

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

      at weblogic.apache.xerces.parsers.AbstractSAXParser.parse()
    2. weblogic.apache.xerces
      AbstractSAXParser.parse
      1. weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
      1 frame
    3. weblogic.xml.jaxp
      RegistryXMLReader.parse
      1. weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
      2. weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
      2 frames
    4. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      2. javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
      2 frames
    5. gov.nysed.vrc
      FAEditorDispatchAction.validateFA
      1. gov.nysed.vrc.xml.FAHandler.parse(FAHandler.java:44)
      2. gov.nysed.vrc.web.actions.FAEditorDispatchAction.validateFA(FAEditorDispatchAction.java:857)
      2 frames
    6. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame