Open jesse-gallagher opened 2 weeks ago
Such an implementation should take care to look for any active XPages-specific one first, since that can use the XPages-specific locale. Along those lines, it could be good for a general validator to look for a locale in an active ServletRequest.
JakartaRestServlet contains this routine:
This is potentially trouble in that it's pushing a logically thread-specific value into a global namespace. It would also be useful in general to have a
ValidatorFactory
at its expected JNDI location at all times for various specs.