check for diameter and exptime before parsing ZP string
(#547)