Ticket #564 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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 9 years ago 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 9 years ago 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!

Note: See TracTickets for help on using tickets.