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 #382 (closed defect: fixed)

Opened 2009-04-23T15:10:04-05:00

Last modified 2010-01-19T14:35:57-06:00

Generated OME-TIFF files have invalid UUID elements

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

Description

A TiffData element with a UUID child must include CDATA with a UUID string referencing the OME element's UUID attribute.

$ bfconvert data/al3d/franz/Iron\ Plate.al3d Iron\ Plate.ome.tif
data/al3d/franz/Iron Plate.al3d [Alicona AL3D] -> Iron Plate.ome.tif [OME-TIFF] ... [done]
1.21s elapsed (568.0+172.0ms per image, 469ms overhead)

$ showinf Iron\ Plate.ome.tif -omexml -nopix
Checking file format [OME-TIFF]
...
Generating OME-XML (schema version 2008-09)
...
         <TiffData FirstC="0" FirstT="0" FirstZ="0" IFD="0" NumPlanes="1">
            <UUID FileName="Iron Plate.ome.tif"/>
         </TiffData>
         <TiffData FirstC="1" FirstT="0" FirstZ="0" IFD="1" NumPlanes="1">
            <UUID FileName="Iron Plate.ome.tif"/>
         </TiffData>
         <TiffData FirstC="2" FirstT="0" FirstZ="0" IFD="2" NumPlanes="1">
            <UUID FileName="Iron Plate.ome.tif"/>
         </TiffData>
...
Validating OME-XML
...
error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '(urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})' for type 'UniversallyUniqueIdentifier'.
error: cvc-complex-type.2.2: Element 'UUID' must have no element [children], and the value must be valid.
error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '(urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})' for type 'UniversallyUniqueIdentifier'.
error: cvc-complex-type.2.2: Element 'UUID' must have no element [children], and the value must be valid.
error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '(urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})' for type 'UniversallyUniqueIdentifier'.
error: cvc-complex-type.2.2: Element 'UUID' must have no element [children], and the value must be valid.

Change History

comment:1 Changed 2010-01-19T14:35:57-06:00 by melissa

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

(In [5808]) Fixed UUID population. Closes #382.