This rule detects java.util.Properties.loadFromXML​(java.io.InputStream) method calls. Starting Java 12, the behavior of the loadFromXML method has
changed to further comply with the specification and will now throw an InvalidPropertiesFormatException exception for non-compliant XML documents.
Code that uses the Properties.storeToXML method to create XML documents will not be impacted. Otherwise, if documents are not created using the
Properties.storeToXML method and have a non-compliant format, an exception will be thrown when invoking the loadFromXML method.
If XML documents are not created with the Properties.storeToXML method, ensure that the DTD defined for
the documents is <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">.
For more information on the behavior change, see Java 12 Release Notes.