check_id

astropy.io.votable.xmlutil.check_id(ID, name='ID', config={}, pos=None) [edit on github][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).

Page Contents