Project

General

Profile

Actions

Bug #1539

closed

<keywordSet> is transformed incorrectly from EML2b6 to EML2

Added by Chris Jones about 20 years ago. Updated about 20 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
04/28/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1539

Description

The tansformation stylesheets from EML2b6 to EML2 incorrectly handle keywords.

An example:

In EML2b6 we have:

&lt;keywordSet&gt;
&lt;keyword&gt;giant kelp&lt;/keyword&gt;
&lt;keyword&gt;biomass&lt;/keyword&gt;
&lt;/keywordSet&gt;
&lt;keywordSet&gt;
&lt;keyword&gt;Historical_kelp&lt;/keyword&gt;
&lt;keywordThesaurus&gt;SBCLTERCategories&lt;/keywordThesaurus&gt;
&lt;/keywordSet&gt;

transformed to EML2 we get:

&lt;keywordSet&gt;
&lt;keyword keywordType="theme"&gt;giant kelp&lt;/keyword&gt;
&lt;keyword keywordType="theme"&gt;biomass&lt;/keyword&gt;
&lt;keyword keywordType="theme"&gt;Historical_kelp&lt;/keyword&gt;
&lt;keywordThesaurus&gt;SBCLTERCategories&lt;/keywordThesaurus&gt;
&lt;/keywordSet&gt;

The keywordSet's are combined, which incorrectly associates freetext keywords
with a thesaurus.

Actions #1

Updated by Dan Higgins about 20 years ago

revised the style sheet to loop over keyWordSets so that eaxh keywordSet is
independently transformed.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 1539

Actions

Also available in: Atom PDF