Is there an explanation of why the JDK Xerces implementation is preferred versus the Wildfly Xerces?
This assumption is being made given the apparent path being taken by Wildfly to stop using the Xerces module and instead prefer the JDK one. Also based on comments from this conversation:
https://groups.google.com/g/wildfly/c/ux3qRh2-7-kMy understanding is that the Xerces version inside the JDK was quite buggy.
For example:
In Widlfy 26 war applications use by default the Xerces version of the Wildfly Modules and executing the following works:
DatatypeFactory.newInstance().newXMLGregorianCalendar("24:00:00Z");
Returns "24:00"
But on Wildfly 27 which war applications by default use JDK Xerces the same call returns bad results and returns: "00:00"
I tried the above using Temurin OpenJDK both JDK 11 and 17 with same results.
There are many other examples like the above where the JDK Xerces has weird issues.