[eml-dev] [Bug 3480] New: - duplicate distribution types (in resource.xsd, and physical.xsd)

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Aug 29 11:08:43 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3480

           Summary: duplicate distribution types (in resource.xsd, and
                    physical.xsd)
           Product: EML
           Version: 2.0.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: eml - general bugs
        AssignedTo: jones at nceas.ucsb.edu
        ReportedBy: mob at icess.ucsb.edu
         QAContact: eml-dev at ecoinformatics.org


In examining <distribution>: there are currently 2 Distribution Types, which
are identical:

1. eml-physical.xsd:  <xs:complexType name="PhysicalDistributionType">

used by:
eml-physical.xsd:1169:        <xs:element name="distribution"
type="PhysicalDistributionType"

and 
2. eml-resource.xsd:  <xs:complexType name="DistributionType">

used in these schemas:
eml-resource.xsd:364:      <xs:element name="distribution"
type="DistributionType" minOccurs="0" maxOccurs="unbounded">
eml-software.xsd:129:              <xs:element name="distribution"
type="res:DistributionType" maxOccurs="unbounded"> (this one is a child of
<implementation>)

I cant tell why this is the case. What was the rationale for having 2? 

Also note that bug #1154 only mentions one of these, PhysicalDistributionType


More information about the Eml-dev mailing list