[eml-dev] [Bug 3165] - request for an element to contain info about a url

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 4 18:03:58 PST 2008


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





------- Comment #3 from mob at icess.ucsb.edu  2008-11-04 18:03 -------
Suggested fix:
The OnlineType was not previously described -see bug #3480 for why it now
exists. This type could also have an optional sibling to the 
url|connection|connectionDefinition for a short description. This fix shows
that structure. 

The new element is prefexed with "online" which is consistent with many other
description elements in EML. Generally, description elements which are of type
xs:string are prefixed with the parent element's name (e.g,
geographicDescription, constraintDescription). There are many instances of a
plain element "description" and these are usually TextType.  This pattern
accounts for about 80% of instances of "*Description" and "description"
elements new element is consistent with this pattern.

This element is in the eml-resource.xsd (OnlineType) and eml-physical.xsd
(phys:PhysicalOnlineType), and checked into cvs with r1.86 and r1.74
respectively.

<xs:complexType name="OnlineType">
    <xs:sequence>
      <xs:element name="onlineDescription" type="xs:string" minOccurs="0"/>
      <xs:choice>
        <xs:element name="url" type="UrlType"/>
        <xs:element name="connection" type="ConnectionType"/>
        <xs:element name="connectionDefinition"
type="ConnectionDefinitionType"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>


More information about the Eml-dev mailing list