[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Implementing JAXB style parsing for aop-mc-int

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Mar 25 10:03:04 EDT 2008


This works better

  |    <xsd:redefine schemaLocation="jboss-beans-common_2_0.xsd">
  | ...
  |       <xsd:group name="valueGroup">
  |          <xsd:choice>
  |             <xsd:element name="value" type="plainValueType"/>
  |             <xsd:element name="inject" type="injectionType"/>
  |             <xsd:element name="value-factory" type="valueFactoryType"/>
  |             <xsd:element name="collection" type="collectionType"/>
  |             <xsd:element name="list" type="listType"/>
  |             <xsd:element name="set" type="setType"/>
  |             <xsd:element name="array" type="arrayType"/>
  |             <xsd:element name="map" type="mapType"/>
  |             <xsd:element name="null">
  |                <xsd:complexType/>
  |             </xsd:element>
  |             <xsd:element name="this">
  |                <xsd:complexType/>
  |             </xsd:element>
  |             <xsd:any namespace="##other" processContents="strict">
  |                <xsd:annotation>
  |                   <xsd:documentation>An extension value</xsd:documentation>
  |                </xsd:annotation>
  |             </xsd:any>
  |          </xsd:choice>
  |       </xsd:group>
  | ...
  |    </xsd:redefine>
  | 

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

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



More information about the jboss-dev-forums mailing list