当我运行我的代码时,它给了我这个错误
[ s4s-att-not-allowed: Attribute 'maxOccurs' cannot appear in element 'element'.]
Run Code Online (Sandbox Code Playgroud)
这是我的架构:
<xs:element name="parameters" maxOccurs="1" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element ref="p ?"/>
</xs:all>
</xs:complexType>
</xs:element>
Run Code Online (Sandbox Code Playgroud)