<?xml version="1.0" encoding="UTF-8"?>
<constraint-mappings xmlns="http://jboss.org/xml/ns/javax/validation/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd">
    <default-package>java.lang</default-package>
    <bean class="Double" ignore-annotations="true">
        <class>
            <constraint annotation="org.hibernate.validator.test.internal.xml.MyConstraint">
                <message>Error</message>
                <element name="additionalConstraints">
                    <annotation>
                        <element name="message">Missing firstName</element>
                        <element name="constraint"></element>
                    </annotation>
                </element>
            </constraint>
        </class>
    </bean>
</constraint-mappings>
