BOMInputStreamTest#testReadXmlWithoutBOMUtf32Be and 3 others fail in "site" generation but not regular unit tests.
I have identified that the problem is happening because xercesImpl/2.4.0/xercesImpl-2.4.0.jar is creeping in during site build With regular unit tests it picks up rt.jar!/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderImpl.class which seems to understand UTF_32BE. Upgrading to xercesImpl-2.11.0 does not seem to fix the problem either ? We're looking at: