[silva-dev] Import/Export of Acquired Metadata

Martijn Faassen faassen at vet.uu.nl
Wed Aug 20 19:25:10 CEST 2003


Samuel Schluep wrote:
> A possible solution would be an attribute in the export XML which indicates
> that a metadata item is aqcuirable. The importer would have to look at this
> flag. If the metadata field is aquirable then there are two possibilities
> (maybe a XML attribute isn't even required, acquirability of metadata items
> can be retrieved from the metadata set definition) :

Yes, I think it should be taken from the metadata set definition.

> 1. If the future parent has the same metadata entry as the imported object,
> the metadata entry of the imported object would be left open.

> 2. If the future parent has another entry, then the original metadata entry
> of the imported object would be imported to.

What about just not exporting the metadata if the metadata is not filled
in locally but is acquired instead. After all, the object doesn't have
any metadata directly associated with it, so why export that? 
I, um, had hoped that this was already the case in the implementation
as I recall discussing this in the past as the right solution...

This way an object will gain the metadata of whatever context it finds
itself in upon import. I think this is usually the intended behavior,
but perhaps people disagree.

Unless people suggest that this is frequently not the intended behavior I'll try
to move the metadata system into that direction.

Regards,

Martijn




More information about the silva-dev mailing list