File tree 16 files changed +56
-51
lines changed
cdi/src/test/resources/org/hibernate/validator/test/cdi/internal
java/org/hibernate/validator/referenceguide/chapter09
resources/org/hibernate/validator/referenceguide
integration/src/test/resources
osgi/integrationtest/src/test/resources/META-INF
16 files changed +56
-51
lines changed Original file line number Diff line number Diff line change 5
5
~ License: Apache License, Version 2.0
6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
- <validation-config xmlns =" http://jboss.org/xml/ns/javax/validation/configuration"
9
- xsi : schemaLocation =" http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd"
10
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
8
+ <validation-config xmlns =" https://xmlns.jakarta.ee/xml/ns/validation/configuration"
9
+ xsi : schemaLocation =" https://xmlns.jakarta.ee/xml/ns/validation/configuration validation-configuration-3.0.xsd"
10
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ version =" 3.0" >
11
12
<default-provider >org.hibernate.validator.test.cdi.internal.injection.MyValidationProvider</default-provider >
12
13
</validation-config >
Original file line number Diff line number Diff line change 6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
8
<validation-config
9
- xmlns =" http ://jboss.org /xml/ns/javax /validation/configuration"
9
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
10
10
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
- xsi : schemaLocation =" http ://jboss.org /xml/ns/javax/ validation/configuration validation-configuration-1.1 .xsd"
12
- version =" 1.1 " >
11
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration validation-configuration-3.0 .xsd"
12
+ version =" 3.0 " >
13
13
<executable-validation >
14
14
<default-validated-executable-types >
15
15
<executable-type >GETTER_METHODS</executable-type >
Original file line number Diff line number Diff line change 6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
8
<validation-config
9
- xmlns =" http ://jboss.org /xml/ns/javax /validation/configuration"
9
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
10
10
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
- xsi : schemaLocation =" http ://jboss.org /xml/ns/javax/ validation/configuration validation-configuration-1.1 .xsd"
12
- version =" 1.1 " >
11
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration validation-configuration-3.0 .xsd"
12
+ version =" 3.0 " >
13
13
<executable-validation enabled =" false" />
14
14
</validation-config >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<validation-config
3
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/configuration"
3
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
4
4
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/configuration validation-configuration-2 .0.xsd"
6
- version =" 2 .0" >
5
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration validation-configuration-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
<default-provider >org.hibernate.validator.HibernateValidator</default-provider >
8
8
9
9
<property name =" hibernate.validator.enable_traversable_resolver_result_cache" >false</property >
Original file line number Diff line number Diff line change 1
1
<constraint-mappings
2
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/mapping"
2
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/mapping
5
- http ://xmlns.jcp.org /xml/ns/validation/mapping/validation-mapping-2 .0.xsd"
6
- version =" 2 .0" >
4
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping
5
+ https ://xmlns.jakarta.ee /xml/ns/validation/mapping/validation-mapping-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
8
8
<default-package >org.hibernate.validator.referenceguide.chapter05</default-package >
9
9
<bean class =" Car" ignore-annotations =" true" >
Original file line number Diff line number Diff line change 1
1
<constraint-mappings
2
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/mapping"
2
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/mapping
5
- http ://xmlns.jcp.org /xml/ns/validation/mapping/validation-mapping-2 .0.xsd"
6
- version =" 2 .0" >
4
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping
5
+ https ://xmlns.jakarta.ee /xml/ns/validation/mapping/validation-mapping-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
8
8
<default-package >org.hibernate.validator.referenceguide.chapter08</default-package >
9
9
Original file line number Diff line number Diff line change 1
1
<validation-config
2
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/configuration"
2
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/configuration
5
- http ://xmlns.jcp.org /xml/ns/validation/configuration/validation-configuration-2 .0.xsd"
6
- version =" 2 .0" >
4
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration
5
+ https ://xmlns.jakarta.ee /xml/ns/validation/configuration/validation-configuration-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
8
8
<default-provider >com.acme.ValidationProvider</default-provider >
9
9
Original file line number Diff line number Diff line change 1
1
<validation-config
2
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/configuration"
2
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/configuration
5
- http ://xmlns.jcp.org /xml/ns/validation/configuration/validation-configuration-2 .0.xsd"
6
- version =" 2 .0" >
4
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration
5
+ https ://xmlns.jakarta.ee /xml/ns/validation/configuration/validation-configuration-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
8
8
<property name =" hibernate.validator.script_evaluator_factory" >
9
9
org.hibernate.validator.referenceguide.chapter09.CustomScriptEvaluatorFactory
Original file line number Diff line number Diff line change 1
1
<validation-config
2
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/configuration"
2
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/configuration
5
- http ://xmlns.jcp.org /xml/ns/validation/configuration/validation-configuration-2 .0.xsd"
6
- version =" 2 .0" >
4
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration
5
+ https ://xmlns.jakarta.ee /xml/ns/validation/configuration/validation-configuration-3 .0.xsd"
6
+ version =" 3 .0" >
7
7
8
8
<property name =" hibernate.validator.getter_property_selection_strategy" >
9
9
org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy.NoPrefixGetterPropertySelectionStrategy
Original file line number Diff line number Diff line change 6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
8
<validation-config
9
- xmlns =" http ://jboss.org /xml/ns/javax /validation/configuration"
9
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
10
10
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
- xsi : schemaLocation =" http ://jboss.org /xml/ns/javax/ validation/configuration validation-configuration-1.1 .xsd"
12
- version =" 1.1 " >
11
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration validation-configuration-3.0 .xsd"
12
+ version =" 3.0 " >
13
13
14
14
<property name =" hibernate.validator.constraint_mapping_contributors" >org.hibernate.validator.integration.wildfly.MyConstraintMappingContributor</property >
15
15
</validation-config >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<constraint-mappings
9
9
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : schemaLocation =" http ://jboss.org /xml/ns/javax/ validation/mapping validation-mapping-1.1 .xsd"
11
- xmlns =" http ://jboss.org /xml/ns/javax/ validation/mapping" version =" 1.1 " >
10
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping validation-mapping-3.0 .xsd"
11
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/mapping" version =" 3.0 " >
12
12
13
13
<constraint-definition annotation =" org.hibernate.validator.integration.wildfly.jpa.ValidMagicianName" >
14
14
<validated-by include-existing-validators =" false" >
Original file line number Diff line number Diff line change 6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
8
<validation-config
9
- xmlns =" http ://xmlns.jcp.org /xml/ns/validation/configuration"
9
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
10
10
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/validation/configuration validation-configuration-2 .0.xsd"
12
- version =" 2 .0" >
11
+ xsi : schemaLocation =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration validation-configuration-3 .0.xsd"
12
+ version =" 3 .0" >
13
13
14
14
<message-interpolator >
15
15
org.hibernate.validator.integration.cdi.configuration.MessageInterpolatorWithInjection
Original file line number Diff line number Diff line change 5
5
~ License: Apache License, Version 2.0
6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
- <validation-config xmlns =" http://jboss.org/xml/ns/javax/validation/configuration"
9
- xsi : schemaLocation =" http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"
10
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
8
+ <validation-config xmlns =" https://xmlns.jakarta.ee/xml/ns/validation/configuration"
9
+ xsi : schemaLocation =" https://xmlns.jakarta.ee/xml/ns/validation/configuration validation-configuration-3.0.xsd"
10
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ version =" 3.0" >
11
12
12
13
<default-provider >org.hibernate.validator.integration.util.MyValidationProvider</default-provider >
13
14
</validation-config >
Original file line number Diff line number Diff line change 5
5
~ License: Apache License, Version 2.0
6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
- <validation-config xmlns =" http://jboss.org/xml/ns/javax/validation/configuration"
9
- xsi : schemaLocation =" http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"
10
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
8
+ <validation-config xmlns =" https://xmlns.jakarta.ee/xml/ns/validation/configuration"
9
+ xsi : schemaLocation =" https://xmlns.jakarta.ee/xml/ns/validation/configuration validation-configuration-3.0.xsd"
10
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ version =" 3.0" >
11
12
12
13
<!--
13
14
CustomValidatorFactoryInPersistenceUnitIT requires this config for passing; So if it passes we know
Original file line number Diff line number Diff line change 7
7
-->
8
8
<constraint-mappings
9
9
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : schemaLocation =" http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd"
11
- xmlns =" http://jboss.org/xml/ns/javax/validation/mapping" >
10
+ xsi : schemaLocation =" https://xmlns.jakarta.ee/xml/ns/validation/mapping validation-mapping-3.0.xsd"
11
+ xmlns =" https://xmlns.jakarta.ee/xml/ns/validation/mapping"
12
+ version =" 3.0" >
12
13
13
14
<default-package >com.example</default-package >
14
15
15
16
<bean class =" Customer" ignore-annotations =" true" >
16
17
<field name =" status" >
17
- <constraint annotation =" javax .validation.constraints.Min" >
18
+ <constraint annotation =" jakarta .validation.constraints.Min" >
18
19
<element name =" value" >2</element >
19
20
</constraint >
20
21
</field >
Original file line number Diff line number Diff line change 6
6
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
7
7
-->
8
8
<validation-config
9
- xmlns =" http ://jboss.org /xml/ns/javax /validation/configuration"
9
+ xmlns =" https ://xmlns.jakarta.ee /xml/ns/validation/configuration"
10
10
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
- xsi : schemaLocation =" http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd" >
11
+ xsi : schemaLocation =" https://xmlns.jakarta.ee/xml/ns/validation/configuration validation-configuration-3.0.xsd"
12
+ version =" 3.0" >
12
13
13
14
<constraint-validator-factory >
14
15
com.example.ExampleConstraintValidatorFactory
You can’t perform that action at this time.
0 commit comments