Updated stop conditions to handle multiple elements with the same name also added Hibernate Validator reference implementation for JSR 349.