How to set xdmf to extract a hyperslab

Hi,
I have a hdf5 Dataset {47, 1, 1, 142}. I want to plot a hyperslab, e.g. {1,1,1,142}, but no matter what I do, I get “memory selection+offset not within extent” error. I get the mesh plotted correctly, but data are totally messed up. The xmf file and the output of h5ls are attached.

Any help is highly appreciated.
Thanks,
Ted

==========================================

<?xml version="1.0" ?> restart.h5:/cycle000600/rank000000/blk0001/X restart.h5:/cycle000600/rank000000/blk0001/Y restart.h5:/cycle000600/rank000000/blk0001/Z 0 0 0 0 1 1 1 1 0 0 0 142 restart.h5:/cycle000600/rank000000/blk0001/mtrl01/n

==========================================
h5ls -l restart.h5/cycle000661/rank000000/blk0001
X Dataset {143}
Y Dataset {2}
Z Dataset {2}
mtrl01 Group
h5ls -l restart.h5/cycle000661/rank000000/blk0001/mtrl01
n Dataset {47, 1, 1, 142}