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: |
|
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
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!
(In [7038]) Adjusted original metadata population, so that it doesn't take nearly as much time or memory. Closes #574, see #564.