Fixed currentTrigger issue

Declared as public and accessed with XmlParser.currentTrigger