Author: hardy.ferentschik
Date: 2009-08-26 10:29:30 -0400 (Wed, 26 Aug 2009)
New Revision: 17424
Added:
validator/trunk/hibernate-validator/src/test/resources/org/hibernate/validator/xml/mapping.xml
Log:
HV-214
Added:
validator/trunk/hibernate-validator/src/test/resources/org/hibernate/validator/xml/mapping.xml
===================================================================
---
validator/trunk/hibernate-validator/src/test/resources/org/hibernate/validator/xml/mapping.xml
(rev 0)
+++
validator/trunk/hibernate-validator/src/test/resources/org/hibernate/validator/xml/mapping.xml 2009-08-26
14:29:30 UTC (rev 17424)
@@ -0,0 +1,16 @@
+<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>org.hibernate.validator.xml</default-package>
+
+ <bean class="Person" ignore-annotations="false">
+ <getter name="firstName">
+ <constraint
annotation="javax.validation.constraints.NotNull"/>
+ </getter>
+ </bean>
+
+ <bean class="Customer" ignore-annotations="false"/>
+</constraint-mappings>
\ No newline at end of file