Extracting spectrum number supports Thermo mzML format.
jmzml has a bug in reading zlib-compressed zero-length binary arrays.