NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #564 (closed defect: fixed)

Opened 2010-09-23T11:26:08-05:00

Last modified 2010-10-11T16:42:25-05:00

Improve original metadata population in OME-XML

Reported by: melissa Owned by: melissa
Priority: major Milestone: bio-formats-4.2.1
Component: bio-formats Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description

There are a few things that should be done:

  • Change the value of the 'Namespace' attribute on *Annotation. Right now, it points to the SA namespace, but that is incorrect.
  • Use a single XMLAnnotation for each key/value pair, instead of a ListAnnotation that links to two CommentAnnotations. For instance:
<XMLAnnotation ID="..." Namespace="openmicroscopy.org/ExtraMetadata">
  <ExtraMetadata xmlns="..." targetNamespace="..." ...>
    ...
  </ExtraMetadata>
</XMLAnnotation>

Change History

comment:1 Changed 2010-10-06T15:02:00-05:00 by melissa

(In [7038]) Adjusted original metadata population, so that it doesn't take nearly as much time or memory. Closes #574, see #564.

comment:2 Changed 2010-10-11T16:42:25-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

(In [7068]) Finally finished fixing original metadata population, closes #564.

We now use a single XMLAnnotation for each key/value pair, like so:

<XMLAnnotation ID="Annotation:0" Namespace="openmicroscopy.org/OriginalMetadata">

<Value>

<OriginalMetadata><Key>foo</Key><Value>bar</Value></OriginalMetadata>

</Value>

</XMLAnnotation>

And the generated OME-XML actually validates!