Steps to reproduce:
- Create a host with an item and a trigger.
- Export the host.
- Rename or delete the host.
- Open export file in a code editor.
- Make a copy of the trigger so that there are two equal records under <triggers>.
- Save the file and import it.
- Navigate to the list of triggers of the host.
There are 2 triggers with the same name and expression.
It should not be possible to import duplicate triggers from XML.