[jboss-dev-forums] [Design of JBossXB] - Re: xsd:attribute ref unsupported in unmarshaller
anil.saldhana@jboss.com
do-not-reply at jboss.com
Wed Aug 15 10:42:19 EDT 2007
Alex, that is what I have currently:
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:jbsx="urn:jboss:security-config:5.0"
| xmlns="urn:jboss:security-config:5.0"
|
| ....
|
| <xsd:attribute name="flag">
| <xsd:simpleType>
| <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:attribute>
|
| <xsd:element name="login-module" type="jbsx:loginModuleInfo"/>
| <xsd:complexType name="loginModuleInfo">
| <xsd:annotation>
| <xsd:appinfo>
| <jbxb:class impl="org.jboss.security.auth.login.AppConfigurationEntryHolder"/>
| </xsd:appinfo>
| </xsd:annotation>
| <xsd:sequence>
| <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
| </xsd:sequence>
| <xsd:attribute name="code" type="xsd:string" use="required"/>
| <xsd:attribute ref="jbsx:flag" use="required"/>
| </xsd:complexType>
|
The xsd:element ref has been working for a long time now. I think it is the attribute ref that is not working. The attr ref is exactly like the element ref in terms of ns/prefix.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074458#4074458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074458
More information about the jboss-dev-forums
mailing list