(self, entity_name, is_parameter_entity, value, base, system_id, public_id, notation_name)
| 195 | return self.root |
| 196 | |
| 197 | def handle_entity_decl(self, entity_name, is_parameter_entity, value, base, system_id, public_id, notation_name): |
| 198 | # Reject plist files with entity declarations to avoid XML vulnerabilities in expat. |
| 199 | # Regular plist files don't contain those declarations, and Apple's plutil tool does not |
| 200 | # accept them either. |
| 201 | raise InvalidFileException("XML entity declarations are not supported in plist files") |
| 202 | |
| 203 | def handle_begin_element(self, element, attrs): |
| 204 | self.data = [] |
nothing calls this directly
no test coverage detected