[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-289) aopBeanFactoryType in schema needs to duplicate the elements from abstractBeanfactoryType rather than using xsd:extension

Kabir Khan (JIRA) jira-events at lists.jboss.org
Fri May 23 12:01:42 EDT 2008


aopBeanFactoryType in schema needs to duplicate the elements from abstractBeanfactoryType rather than using xsd:extension
-------------------------------------------------------------------------------------------------------------------------

                 Key: JBMICROCONT-289
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-289
             Project: JBoss MicroContainer
          Issue Type: Bug
          Components: AOP
    Affects Versions: JBossMC.2.0.0.Beta13
            Reporter: Kabir Khan
             Fix For:  JBossMC.2.0.0.CR1


aspectOrInterceptorType extends 
org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 384:53 cos-ct-extends.1.4.3.2.2.1.b: The content type of a derived type and that of its base must both be mixed or both be element-only. Type 'aspectOrInterceptorType' is mixed, but its base type is not.
	at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40)
	at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source)
	at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)
	at org.jboss.xb.binding.Util.loadSchema(Util.java:395)
	at org.jboss.test.microcontainer.validateschema.test.ValidateAOPSchemaTestCase.testSchemaIsValid(ValidateAOPSchemaTestCase.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	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:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.extensions.TestSetup.run(TestSetup.java:27)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list