RFR: 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Naoto Sato
naoto at openjdk.org
Sat Apr 29 00:22:22 UTC 2023
On Fri, 28 Apr 2023 17:08:10 GMT, Joe Wang <joehw at openjdk.org> wrote:
> Fix a copy n paste error in XMLSchemaValidator. When the patch was applied while updating to Xerces 2.12.2, the original code was not removed, resulting in reporting validation error twice.
test/jaxp/javax/xml/jaxp/unittest/validation/ErrorHandlingTest.java line 86:
> 84: @Test
> 85: public void test() throws Exception {
> 86: Locale.setDefault(ENGLISH);
I believe this test is run in `othervm` mode, but still, it would be preferred to restore the default locale after the test
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13722#discussion_r1180889595
More information about the core-libs-dev
mailing list