RFC 5545, section 3.7.4 (Version) describes this text field. Until I
actually see something using using the (minver ";" maxver) syntax,
I'll just require everything to be version 2.0.
self._add_value(key=value, value=child, force_list=True)
child_lines = []
elif not stack: # our own data, not a child's
+ if key == 'VERSION':
+ v = _text.unescape(value)
+ if v != '2.0':
+ raise NotImplementedError(
+ 'cannot parse VERSION {} feed'.format(v))
self._add_value(key=key, value=value)
def _add_value(self, key, value, force_list=False):