IS24-XML/src/main/java/org/openestate/io/is24_xml/Is24XmlUtils.java
public static Unmarshaller createUnmarshaller() throws JAXBException {
        Unmarshaller m = getContext().createUnmarshaller();
        m.setEventHandler(new XmlValidationHandler());
        return m;
    }
public static Unmarshaller createUnmarshaller() throws JAXBException {
        Unmarshaller m = getContext().createUnmarshaller();
        m.setEventHandler(new XmlValidationHandler());
        return m;
    }
Creates a {@link Unmarshaller} to read JAXB objects from XML.

@return created unmarshaller
@throws JAXBException if a problem with JAXB occurred