org.xml.sax.SAXParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • XML validation error message always display
    via Stack Overflow by Chris
    ,
  • Using SAX with JAXBContext
    via Stack Overflow by user1432913
    ,
  • Problem using xsd:include
    via by Guru,
  • Tomcat 3.2.3 web.xml error
    via by Rogelio,
    • org.xml.sax.SAXParseException: General Schema Error: Schema in file:/D:/CPNI/Installs/bea/user_projects/w4WP_workspaces/Untitled/Phase2 /resources/config/schema/EDD/jms/Public/test.xsd <file:/D:/CPNI/Installs/bea/user_projects/w4WP_workspaces/Untitled/Phase 2/resources/config/schema/EDD/jms/Public/test.xsd> has a different target namespace from the one specified in the instance document :. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213) at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1821) at org.apache.xerces.validators.common.XMLValidator.resolveSchemaGrammar(XMLValidator.java:2846) at org.apache.xerces.validators.common.XMLValidator.parseSchemas(XMLValidator.java:2747) at org.apache.xerces.validators.common.XMLValidator.bindNamespacesToElementAndAttributes(XMLValidator.java:2628) at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1218) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:949) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at com.att.cpni.common.util.TestXercesParser.generateXercesDOM(TestXercesParser.java:33) at com.att.cpni.common.util.CPNIDomParserTest.testIsMandatoryInputAttrPresent(CPNIDomParserTest.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154)
    No Bugmate found.