1 2 Previous Next 20 Replies Latest reply on Aug 17, 2007 3:11 AM by aloubyansky

    xsd:attribute ref unsupported in unmarshaller

    anil.saldhana

      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.

        1 2 Previous Next