ODF formats: Make valid() a little more picky about hex length.