org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x12) was found in the element content of the document.

hivmr.com | 5 months ago
  1. 0

    db:: 4.35::An invalid XML character (Unicode: 0x0) was found in the prolog of the docu 8s

    hivmr.com | 5 months ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x12) was found in the element content of the document.
  2. 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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Accessing a Remote Weblogic EJB from an OpenEJB environment

    openejb-users | 7 years ago | Stephan Bauer
    org.xml.sax.SAXParseException: Premature end of file.]
  5. 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.

    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

      An invalid XML character (Unicode: 0x12) was found in the element content of the document.

      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
      WebLogicXMLReader.parse
      1. weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
      1 frame