Project

General

Profile

Actions

Bug #1979

closed

The packagetype in xml_relation table is eml200 namespace for eml 201 document

Added by Jing Tao almost 20 years ago. Updated almost 20 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
metacat
Target version:
Start date:
02/11/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1979

Description

When a eml201 document insert into metacat, metacat will create record in
xml-relation table if the eml201 document points to one or more data files.

The field "packagetype" in xml-relation table should be eml201 namespace for an
eml201 document. Howerver, the result turns out the "packagetype is eml200
namespace. They are not match.

Except fix the bug, we also need a script to correct existed records in
xml-relation table.

Actions #1

Updated by Jing Tao almost 20 years ago

Im Eml200SAXHandler class, use variable doctype rather than the hard code for
namespace when insert a record into xml_relation table. The doctype will be
eml200 namespace if it is eml200 doc and eml201 namespace if it is eml201 doc.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 1979

Actions

Also available in: Atom PDF