Uploaded image for project: 'Hibernate Validator'
  1. Hibernate Validator
  2. HV-1393

Update schema coordinates in the documentation to use BV 2.0 schemas

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.CR1
    • Component/s: documentation
    • Labels:
      None

      Description

      Example 11.2: Configuring method validation behaviour in class hierarchies via properties

      is using validation schema 1.0 and should be updated to 2.0

      current example code:

      <?xml version="1.0" encoding="UTF-8"?>
      <validation-config
              xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd">
          <default-provider>org.hibernate.validator.HibernateValidator</default-provider>
      
          <property name="hibernate.validator.allow_parameter_constraint_override">true</property>
          <property name="hibernate.validator.allow_multiple_cascaded_validation_on_result">true</property>
          <property name="hibernate.validator.allow_parallel_method_parameter_constraint">true</property>
      </validation-config>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: