Sorry, I read your post incorrectly. Modifying the xml (and not the xsd ) with a specific
prefix on the flag attribute works, but it will be difficult for users to pick that
approach (specify attribute code with no namespace prefix and flag with a prefix).
Since I need to just externalize the type, I can get it to work with:
| <xsd:simpleType name="module-option-flag">
| <xsd:restriction base="xsd:string">
| <xsd:enumeration value="required"/>
| <xsd:enumeration value="requisite"/>
| <xsd:enumeration value="sufficient"/>
| <xsd:enumeration value="optional"/>
| </xsd:restriction>
| </xsd:simpleType>
|
| <xsd:complexType name="loginModuleInfo">
| ....
| <xsd:attribute name="code" type="xsd:string"
use="required"/>
| <xsd:attribute name="flag" type="jbsx:module-option-flag"
use="required"/>
| </xsd:complexType>
|
I can move on.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074571#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...