[jboss-dev-forums] [Design of JBossXB] - xsd:attribute ref unsupported in unmarshaller
anil.saldhana@jboss.com
do-not-reply at jboss.com
Wed Aug 8 00:31:43 EDT 2007
with a generic value container?
| <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>
|
|
I do not have the test case for this. But I saw that an addChild call never happened for "flag" in AppConfigurationEntryHolder (a GenericValueContainer).
Alex, you may be faster in churning out a test case and fixing this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071822#4071822
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071822
More information about the jboss-dev-forums
mailing list