最佳答案
我想知道XML Schema规范如何处理这些情况:
<xsd:element minOccurs="1" name="asdf"/>
这是基数[1..1]吗?
<xsd:element minOccurs="5" maxOccurs="2" name="asdf"/>
我想这完全无效?
<xsd:element maxOccurs="2" name="asdf"/>
这是基数[0..2]还是[1..2]?
关于XML Schema规范如何处理这些情况,是否存在“官方”定义?