IDEX-1530: added support for void elements