Project

General

Profile

Actions

Bug #1639

open

ref to beta6 physical table left in morpho eml2 output

Added by Margaret O'Brien over 19 years ago. Updated over 19 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
07/14/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1639

Description

morpho is including a reference to an old beta6 physical xml file under the
dataTable/physical/objectName. should this objectName be the name of the table?
either the input table (eg data_table.csv), or the same as the table name listed
in distribution/online/url?

this sample tree was taken from package sbclter300.10 (can be found in
http://data/piscoweb.org/datalog). The contents of "sbclter.299.1" are pasted at
the end of this message. =================
<physical>
<objectName>sbclter.299.1</objectName>
<size unit="bytes">59847</size>
<dataFormat>
<textFormat>
<numHeaderLines>1</numHeaderLines>
<recordDelimiter>#x0A</recordDelimiter>
<attributeOrientation>column</attributeOrientation>
<simpleDelimited>
<fieldDelimiter>,</fieldDelimiter>
</simpleDelimited>
</textFormat>
</dataFormat>
<distribution>
<online>
<url>ecogrid://knb/sbclter.296.1</url>
</online>
</distribution>
</physical>

================
CONTENTS OF sbclter.299.1:

<!DOCTYPE eml-physical PUBLIC
"-//ecoinformatics.org//eml-physical-2.0.0beta6//EN"
"http://data.piscoweb.org/catalog/dtd/eml-physical-2.0.0beta6.dtd"><eml-physical>
<identifier>sbclter.299.1</identifier>
<format> Text</format>
<size unit="bytes">59847</size>
<numHeaderLines>1</numHeaderLines>
<recordDelimiter>#x0A</recordDelimiter>
<fieldDelimiter>,</fieldDelimiter>
</eml-physical>

Actions #2

Updated by Saurabh Garg over 19 years ago

This is beta6 to eml2 conversion issue.
The problem here is that dataTable/physical/objectName has one to one mapping
with eml-physical/identifier only.
The entity name can't be used as one entity can have multiple physical
informations. And one physical information can have multiple distributions.
Hence distribution name cant be used also.
I think this is the reason eml-physical/identifier was mapped to
dataTable/physical/objectName

Actions #3

Updated by Margaret O'Brien over 19 years ago

OK - So I can legally replace that old ref in the <objectName> element with the
table name? and morpho wont choke on it? It puts something entirely different in
that tag when it makes a package from scratch, as in:
<objectName>~deleteme29676.tmp</objectName>
I guess I'm just confirming the schema, here. - thanks.

Actions #4

Updated by Saurabh Garg over 19 years ago

<objectName> is not a reference which system uses to locate the file. Those
references go in the distribution tag.

In emlb6 to eml2 conversion, we take the identifier because that is the best
mapping. In emlb6 the identifier used to be the way to find the file. But in
eml2, <distribution> tags are used for that.

When making a new document, Morpho puts a random name in the objectName tag. If
you search your system, you wont find a deleteme29676.tmp. You should be able
to modify that without messing up anything else.

Actions #5

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 1639

Actions

Also available in: Atom PDF