Author: RenatoDeGiovanni Date: 2007-11-22 13:21:45 +0100 (Thu, 22 Nov 2007) New Revision: 1351
Modified: tapir/dev/schema/tapir.xsd Log: Schema was forcing all indexingPreferences' attributes to be present - which was clearly not our original intention (providers may wish to specify only a frequency or a maximum duration or just indicate the preferred start time).
Modified: tapir/dev/schema/tapir.xsd =================================================================== --- tapir/dev/schema/tapir.xsd 2007-11-22 12:18:38 UTC (rev 1350) +++ tapir/dev/schema/tapir.xsd 2007-11-22 12:21:45 UTC (rev 1351) @@ -8,7 +8,7 @@ xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" elementFormDefault="qualified" - attributeFormDefault="unqualified" version="1.0.3" xml:lang="EN" > + attributeFormDefault="unqualified" version="1.0.4" xml:lang="EN" > xsd:annotation <xsd:documentation xml:lang="en"> TAPIR XML Schema. TAPIR is an acronym for TDWG Access Protocol for Information Retrieval. @@ -1666,9 +1666,9 @@ </xsd:element> <xsd:element name="indexingPreferences" minOccurs="0"> xsd:complexType - <xsd:attribute name="startTime" type="xsd:time"/> - <xsd:attribute name="maxDuration" type="xsd:duration"/> - <xsd:attribute name="frequency" type="xsd:duration" /> + <xsd:attribute name="startTime" type="xsd:time" use="optional"/> + <xsd:attribute name="maxDuration" type="xsd:duration" use="optional"/> + <xsd:attribute name="frequency" type="xsd:duration" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="relatedEntity" type="relatedEntityInformationType" maxOccurs="unbounded">