[hibernate-commits] Hibernate SVN: r17842 - validator/trunk/hibernate-validator/src/main/docbook/en-US/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Oct 26 12:45:45 EDT 2009


Author: hardy.ferentschik
Date: 2009-10-26 12:45:45 -0400 (Mon, 26 Oct 2009)
New Revision: 17842

Modified:
   validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/usingvalidator.xml
Log:
HV-258

Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/usingvalidator.xml
===================================================================
--- validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/usingvalidator.xml	2009-10-26 16:24:37 UTC (rev 17841)
+++ validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/usingvalidator.xml	2009-10-26 16:45:45 UTC (rev 17842)
@@ -172,8 +172,8 @@
       <classname>ConstraintValidator</classname>. Class level constraints are
       useful if it is necessary to inspect more than a single property of the
       class to validate it or if a correlation between different state
-      variables has to be evaluated. In <xref linkend="Car-example" /> we add
-      the property <property>passengers</property> to the class
+      variables has to be evaluated. In <xref linkend="example-class-level" />
+      we add the property <property>passengers</property> to the class
       <classname>Car</classname>. We also add the constraint
       <classname>PassengerCount</classname> on the class level. We will later
       see how we can actually create this custom constraint (see <xref
@@ -181,7 +181,7 @@
       know that <classname>PassengerCount</classname> will ensure that there
       cannot be more passengers in a car than there are seats.</para>
 
-      <para><example xreflabel="Car-example">
+      <para><example id="example-class-level">
           <title>Class level constraint</title>
 
           <programlisting language="Java">package com.mycompany;



More information about the hibernate-commits mailing list