Update comrpessed_parser.py

removed restriction, added in validation for pub-id-type