Project

General

Profile

Bug #1539

<keywordSet> is transformed incorrectly from EML2b6 to EML2

Added by Chris Jones about 15 years ago. Updated about 15 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.

History

#1 Updated by Dan Higgins about 15 years ago

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

#2 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 1539

Also available in: Atom PDF