poi/xmlbeans/test/cases/xbean/scomp/attribute/LocalAttrUse.xsd
2018-02-16 22:41:27 +00:00

28 lines
1.1 KiB
XML

<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://xbean/scomp/attribute/LocalAttrUse"
targetNamespace="http://xbean/scomp/attribute/LocalAttrUse"
>
<xsd:attribute name="attRequiredFixed" type="xsd:string" fixed="XBeanFix"/>
<xsd:attribute name="attRequiredDefault" type="xsd:string" default="XBeanDef"/>
<xsd:complexType name="LocalAttrUseT">
<xsd:attribute name="attDefault" type="xsd:string"/>
<xsd:attribute name="attOpt" type="xsd:string" use="optional"/>
<!--from a customer complaint-->
<xs:attribute name="lastPasswordUpdate" type="xs:dateTime"
use="optional"/>
<xsd:attribute name="attProhibited" type="xsd:integer" use="prohibited"/>
<xsd:attribute name="attRequired" type="xsd:integer" use="required"/>
<xsd:attribute ref="attRequiredDefault" use="required"/>
<xsd:attribute ref="attRequiredFixed" use="required"/>
</xsd:complexType>
<xsd:element name="LocalAttrUseDoc" type="LocalAttrUseT">
</xsd:element>
</xsd:schema>