Hi all,
I am currently developing a Swing IHM for Spring Integration, in order to draw automatically any Spring Integration architecture from XML parsing against XSD definitions (and in a second phase to build architectures graphically).
I am facing problems generating Java code from Spring Integration XSD files with Xerces. Here is errors with spring-integration-1.0.xsd :
[ERROR] src-resolve: Cannot resolve the name 'beans:identifiedType' to a(n) 'type definition' component.
[VIEWER.TASK.xjc] line 520 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type 'innerEndpointDefinitionAware' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1438 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_delayer' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 578 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_bridge' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 646 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_chain' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 677 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_header-enricher' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 864 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_object-to-string-transformer' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 980 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_payload-serializing-transformer' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1001 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_payload-deserializing-transformer' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1022 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_header-value-router' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1061 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_recipient-list-router' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1090 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_payload-type-router' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1114 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] [ERROR] cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and that of its base must both be mixed or both be element-only. Type '#AnonType_router' is element only, but its base type is not.
[VIEWER.TASK.xjc] line 1137 of spring-integration-1.0.xsd
[VIEWER.TASK.xjc] failure in the XJC task. Use the Ant -verbose switch for more details
Thanks for any help !![]()


Reply With Quote

