0
제목은 다음과 같습니다. 문제가되는 주요 부분은 요소가 두 번 이상 나타나지 않게 만드는 것입니다. 웬일인지 나는 그것을 이해할 수 없다. min과 max가 발생하면 문제가 해결 될 것이라고 생각했습니다.XSD : 순서에 관계없이 선택 사항 일 수 있지만 한 번 이상 나타날 수없는 요소를 만드는 방법
다음은 요소에 대한 사양이며 아래는 지금까지 내가 가지고있는 코드입니다. 모든 요소 : XSD에서
<!--
13.1. The element info has an optional updated element. If present, appears exactly once.
Represents the last day and time the feed was updated on your company’s servers.
13.2. The element info has an optional copyright element. If present, appears exactly once.
Represents the copyright holder of the feed data.
13.3. The element info has an optional location element. If present, appears exactly once.
Represents the physical location of the company with the feed.
13.3.1. These three elements can appear in any order, and all three are optional.
-->
<xs:element name="info" >
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="target:updated" minOccurs="0" maxOccurs="1" />
<xs:element ref="target:copyright" minOccurs="0" maxOccurs="1" />
<xs:element ref="target:location" minOccurs="0" maxOccurs="1" />
</xs:choice>
</xs:complexType>
</xs:element>