check_id#

astropy.io.votable.xmlutil.check_id(ID, name='ID', config=None, pos=None)[source]#

Raises a VOTableSpecError if ID is not a valid XML ID.

name is the name of the attribute being checked (used only for error messages).