[bv-dev] validation-configuration.xsd and value-extractors

Guillaume Smet guillaume.smet at gmail.com
Thu May 18 05:35:36 EDT 2017


Hi,

In the current revision of the spec, the value-extractor element is at the
same level as message-interpolator for instance.

So, when you want to add several value-extractors, you end up having the
following:
<validation-config>


<message-interpolator>org.hibernate.beanvalidation.tck.tests.integration.cdi.managedobjects.MessageInterpolatorUsingDependencyInjection</message-interpolator>


<value-extractor>package.MapKeyValueExtractorUsingDependencyInjection</value-extractor>

<value-extractor>package.MapValueValueExtractorUsingDependencyInjection</value-extractor>

</validation-config>

I was thinking that we should maybe wrap it into a value-extractors
element. It would be nicer and more consistent with the usual conventions.

What do you all think about it?

-- 
Guillaume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20170518/28bc4c29/attachment.html 


More information about the beanvalidation-dev mailing list