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