check_token

astropy.io.votable.xmlutil.check_token(token, attr_name, config=None, pos=None)[source]

Raises a ValueError if token is not a valid XML token.

As defined by XML Schema Part 2.