Ok, so if I want to take our ejb container schema which would have integration 
points for the plugins like the interceptors, cache, pool, etc, but would not 
have integration points for the jbossxb marshalling elements, I would have to 
create a new schema that used the xsd:import? Would this allow for a validation 
of the following document:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!-- Tell JBossXB about the namespace to factory mappings in this doc -->
  | <jbossxb:metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |    xmlns:jbossxb="http://www.jboss.org/j2ee/schema/jbossxb";
  |    >
  |    <jbossxb:object-factory namespace="http://acme.com/schema/jboss"; 
factory="com.amce.Factory" />
  |    <jbossxb:object-factory namespace="http://gizmo/schema/jboss"; 
factory="com.gizmo.Factory" />
  | </jbossxb:metadata>
  | 
  | <jboss:jboss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |    xmlns:jboss="http://www.jboss.org/j2ee/schema/jboss";
  |    xmlns:acme="http://acme.com/schema/jboss";
  |    xmlns:gizmo="http://gizmo/schema/jboss";
  |    >
  | 
  |    <container-configurations>
  |       <container-configuration>
  |          <container-name>Test Container</container-name>
  |          <container-interceptors>
  |             
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
  |             <interceptor>
  |                <acme:interceptor 
code="com.acme.ejb.interceptors.CustomInterceptor">
  |                   <acme:inteceptor-config>
  |                      ...
  |                   </acme:inteceptor-config>
  |                </acme:interceptor>
  |             </interceptor>
  |             <interceptor>
  |                <gizmo:interceptor 
code="com.gizmo.ejb.interceptors.CustomInterceptor">
  |                   <gizmo:inteceptor-config>
  |                      ...
  |                   </gizmo:inteceptor-config>
  |                </gizmo:interceptor>
  |             </interceptor>
  |             ...
  |          </container-interceptors>
  |          
  |       </container-configuration>
  |       
  |    </container-configurations>
  | </jboss:jboss>
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859852#3859852

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859852


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to