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 :.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via xerces-j-users by Barun Kumar Yadav, 1 year ago
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 :.
via xerces-j-users by Barun Kumar Yadav, 1 year ago
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 :.
via Apache Bugzilla by liuyutao, 4 months ago
General Schema Error: Stopping after fatal error: File "Model.xsd" not found..
via Google Groups by Chris Graham [WarpSpeed], 2 years ago
The content of element type "tag" must match "(name,tagclass,teiclass?,bodycontent?,info?,attribute*)".
via Google Groups by Chris Graham [WarpSpeed], 2 years ago
The content of element type "tag" must match "(name,tagclass,teiclass?,bodycontent?,info?,attribute*)".
via Oracle Community by 843790, 1 year ago
The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapp ing*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.