Permalink
Browse files

string optional didn't seem to work. trying minOccurs/maxOccurs trick

  • Loading branch information...
1 parent 888af83 commit 7308787128ceee633e5bd02a235f3543f55c59f4 @buzztroll buzztroll committed Nov 29, 2011
@@ -113,7 +113,11 @@
<xs:element ref="work-types:schedule" />
<xs:element ref="neg:ResourceAllocation" />
<xs:element ref="log:logistics" />
- <xs:element name="details" type="xs:string" use="optional" />
+ <xs:element name="details" type="xs:string"
+ minOccurs="0"
+ maxOccurs="1"/>
+
+
</xs:sequence>
</xs:complexType>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -113,7 +113,9 @@
<xs:element ref="work-types:schedule" />
<xs:element ref="neg:ResourceAllocation" />
<xs:element ref="log:logistics" />
- <xs:element name="details" type="xs:string" use="optional" />
+ <xs:element name="details" type="xs:string"
+ minOccurs="0"
+ maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
@@ -61,7 +61,7 @@
<xs:element ref="work-types:schedule"/>
<xs:element ref="neg:ResourceAllocation"/>
<xs:element ref="log:logistics"/>
- <xs:element name="details" type="xs:string" use="optional"/>
+ <xs:element maxOccurs="1" minOccurs="0" name="details" type="xs:string"/>
</xs:sequence>
</xs:complexType>

0 comments on commit 7308787

Please sign in to comment.