(self, tag, attrs)
| 653 | # FIXME: assert standalone == 1 ??? |
| 654 | |
| 655 | def start(self, tag, attrs): |
| 656 | # prepare to handle this element |
| 657 | if ':' in tag: |
| 658 | tag = tag.split(':')[-1] |
| 659 | if tag == "array" or tag == "struct": |
| 660 | self._marks.append(len(self._stack)) |
| 661 | self._data = [] |
| 662 | if self._value and tag not in self.dispatch: |
| 663 | raise ResponseError("unknown tag %r" % tag) |
| 664 | self._value = (tag == "value") |
| 665 | |
| 666 | def data(self, text): |
| 667 | self._data.append(text) |
nothing calls this directly
no test coverage detected