Bug #3165
closedrequest for an element to contain info about a url
0%
Description
Anywhere there is a <url> it would be useful to have a place to include text that could be added to the anchor tag when forming the link. this could be accomplished with a sibling <urlDescription> element.
Updated by Margaret O'Brien about 16 years ago
targeting for 2.1.0, although may drop back to unspecified.
Updated by Margaret O'Brien about 16 years ago
schema bugs targeted for 2.1.0 set to P1
Updated by Margaret O'Brien about 16 years ago
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>
Updated by Margaret O'Brien about 16 years ago
done, except for the mopping up (documentation, bug #3599)