Integrated: 8260: Warnings and errors logged during XML processing
Virag Purnam
vpurnam at openjdk.org
Mon Oct 14 06:02:17 UTC 2024
On Fri, 11 Oct 2024 17:42:46 GMT, Virag Purnam <vpurnam at openjdk.org> wrote:
> We have several xml files in JMC. To remove fortify scan issue about XML Validation, **DocumentBuilderFactory.setValidating(true)** had been added. Because of that validation was triggered during the parsing of XML. We do not have **xsd files** against all the xml files and so it shows errors and warning.
> We can either create **xsd files** or **disable the ErrorValidator**.
> I think at this point disabling the default ErrorValidator is better option, and I have done the same in this PR.
> Could you please review the changes. Thanks.
This pull request has now been integrated.
Changeset: cf85dbcb
Author: Virag Purnam <vpurnam at openjdk.org>
URL: https://git.openjdk.org/jmc/commit/cf85dbcb3872bd31c7d8145833eacda148455b3e
Stats: 9 lines in 5 files changed: 7 ins; 0 del; 2 mod
8260: Warnings and errors logged during XML processing
Reviewed-by: hirt
-------------
PR: https://git.openjdk.org/jmc/pull/592
More information about the jmc-dev
mailing list