def buildAttributes(self, node, attrs, already_processed):
        value = find_attr_value_('ordinal_position', node)
        if value is not None:

            try:
                self.ordinal_position = int(value)
            except __HOLE__ as exp:
                raise_parse_error(node, 'Bad integer attribute: %s' % exp)
            if self.ordinal_position < 0:
                raise_parse_error(node, 'Invalid NonNegativeInteger')
dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/http_session_object.py/HTTPRequestResponseType.buildAttributes