| 752 | |
| 753 | |
| 754 | class XmlTokenMismatch(Exception): |
| 755 | |
| 756 | def __init__(self, expected, found): |
| 757 | self.expected = expected |
| 758 | self.found = found |
| 759 | |
| 760 | def __str__(self): |
| 761 | return '%u:%u: %s expected, %s found' % (self.found.line, self.found.column, str(self.expected), str(self.found)) |
| 762 | |
| 763 | |
| 764 | class XmlParser(Parser): |
no outgoing calls
no test coverage detected