Skip to content

Commit

Permalink
start_date must be optional
Browse files Browse the repository at this point in the history
In order for the schema to support an empty `<free_to_read/>` element,
the `start_date` attribute must be optional.
  • Loading branch information
Alf Eaton committed Apr 16, 2015
1 parent ae51d89 commit 730c836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niso-ali-1.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<xsd:element name="free_to_read">
<xsd:complexType>
<xsd:attribute name="end_date" use="optional" type="xsd:date"/>
<xsd:attribute name="start_date" use="required" type="xsd:date"/>
<xsd:attribute name="start_date" use="optional" type="xsd:date"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="license_ref">
Expand Down

0 comments on commit 730c836

Please sign in to comment.