ENYO-3082: fix next() handling in _openDoucment
ENYO-3082: fix next() handling in _openDoucment

mcanthony/ares-project,mcanthony/ares-project,enyojs/ares-project,enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project,enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project,mcanthony/ares-project,mcanthony/ares-project