NXP-11791: extends xml parser service. Add inputStream as parameter