Author: RenatoDeGiovanni Date: 2007-12-12 12:04:30 +0100 (Wed, 12 Dec 2007) New Revision: 1355 Modified: tapir/1.0/schema/tapir.xsd tapir/dev/schema/tapir.xsd Log: XML Schema validation was failing when search results returned no matching records. Added minOccurs = 0 to the root search result element. Modified: tapir/1.0/schema/tapir.xsd =================================================================== --- tapir/1.0/schema/tapir.xsd 2007-12-07 13:59:24 UTC (rev 1354) +++ tapir/1.0/schema/tapir.xsd 2007-12-12 11:04:30 UTC (rev 1355) @@ -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.4" xml:lang="EN" > + attributeFormDefault="unqualified" version="1.0.5" xml:lang="EN" > <xsd:annotation> <xsd:documentation xml:lang="en"> TAPIR XML Schema. TAPIR is an acronym for TDWG Access Protocol for Information Retrieval. @@ -1828,7 +1828,7 @@ <xsd:documentation>Format of search operation result.</xsd:documentation> </xsd:annotation> <xsd:sequence> - <xsd:any processContents="lax" namespace="##other"/> + <xsd:any processContents="lax" namespace="##other" minOccurs="0"/> <xsd:element name="summary" type="resultSummaryType"> <xsd:annotation> <xsd:documentation>Used to show information about the number of records for Modified: tapir/dev/schema/tapir.xsd =================================================================== --- tapir/dev/schema/tapir.xsd 2007-12-07 13:59:24 UTC (rev 1354) +++ tapir/dev/schema/tapir.xsd 2007-12-12 11:04:30 UTC (rev 1355) @@ -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.4" xml:lang="EN" > + attributeFormDefault="unqualified" version="1.0.5" xml:lang="EN" > <xsd:annotation> <xsd:documentation xml:lang="en"> TAPIR XML Schema. TAPIR is an acronym for TDWG Access Protocol for Information Retrieval. @@ -1828,7 +1828,7 @@ <xsd:documentation>Format of search operation result.</xsd:documentation> </xsd:annotation> <xsd:sequence> - <xsd:any processContents="lax" namespace="##other"/> + <xsd:any processContents="lax" namespace="##other" minOccurs="0"/> <xsd:element name="summary" type="resultSummaryType"> <xsd:annotation> <xsd:documentation>Used to show information about the number of records for