Ticket #305 (closed enhancement: fixed)

Opened 12 years ago

Last modified 9 years ago

Handle mixed OME/non-OME XML blocks

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


When looking for OME-XML blocks, Bio-Formats assumes the entire tree will be enclosed in a root <OME> element, with no extraneous root elements or non-OME subtrees anywhere. Ideally, we would like to handle more heterogeneous cases, including:

  • Non-OME block after an OME block
  • Non-OME block before an OME block
  • Multiple OME blocks, and/or multiple non-OME blocks

Obviously, there is not a lot we can do with arbitrary XML from a practical perspective other than ignore it, but for now the goal is merely to avoid throwing an exception in these cases.

Change History

comment:1 Changed 9 years ago by curtis

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

moved to  ome:#4100

Note: See TracTickets for help on using tickets.