我想知道定义为 XSD simpleType 和以下模式的 XSD 属性的类型是什么,因此验证失败。请看一看,模式验证器工具在“*”分界区域抛出错误,说基本属性类型没有正确派生..不确定这是否是要定义的正确结构...我周围没有业务模型这个,我只是想在这里玩不同的限制和扩展选项..
<xsd:complexType name="comptype_simplecontent">
<xsd:simpleContent>
<xsd:restriction base="AAA">
<xsd:attribute name="aaa_attr" *type="xsd:anySimpleType"*></xsd:attribute>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="AAA" block="extension">
<xsd:simpleContent>
<xsd:extension base="xsd:integer">
<xsd:attribute name="aaa_attr">
<xsd:simpleType>
<xsd:restriction base="xsd:decimal">
<xsd:minExclusive value="90"></xsd:minExclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>