Project

General

Profile

Bug #3165

request for an element to contain info about a url

Added by Margaret O'Brien about 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
eml - general bugs
Target version:
Start date:
02/26/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3165

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.

History

#1 Updated by Margaret O'Brien over 12 years ago

targeting for 2.1.0, although may drop back to unspecified.

#2 Updated by Margaret O'Brien over 12 years ago

schema bugs targeted for 2.1.0 set to P1

#3 Updated by Margaret O'Brien over 12 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>

#4 Updated by Margaret O'Brien over 12 years ago

done, except for the mopping up (documentation, bug #3599)

#5 Updated by Redmine Admin about 8 years ago

Original Bugzilla ID was 3165

Also available in: Atom PDF