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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...