- 
    Type:
Sub-task
 - 
    Resolution: Delivered
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 11.0.5-oracle, 12
 - 
    Component/s: core-libs
 
- 
        Verified
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8224713 | 11.0.5-oracle | Clifford Wayne | P4 | Resolved | Delivered | |
| JDK-8224714 | 8u281 | Clifford Wayne | P4 | Closed | Withdrawn | 
                    The implementation of the `java.util.Properties.loadFromXML` method has been changed to comply with its specification. Specifically, the underlying XML parser implementation now rejects non-compliant XML documents by throwing an `InvalidPropertiesFormatException` as specified by the `loadFromXML` method.
The effect of the change is as follows:
- Documents created by `Properties.storeToXML`: No change. `Properties.loadFromXML` will have no problem reading such files.
- Documents not created by `Properties.storeToXML`: Any documents containing DTDs not in the format as specified in `Properties.loadFromXML` will be rejected. This means the DTD shall be exactly as follows (as generated by the `Properties.storeToXML` method):
```
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
```
            
The effect of the change is as follows:
- Documents created by `Properties.storeToXML`: No change. `Properties.loadFromXML` will have no problem reading such files.
- Documents not created by `Properties.storeToXML`: Any documents containing DTDs not in the format as specified in `Properties.loadFromXML` will be rejected. This means the DTD shall be exactly as follows (as generated by the `Properties.storeToXML` method):
```
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
```
- backported by
 - 
                    
JDK-8224713 Release Note: Changed Properties.loadFromXML to Comply with Specification
-         
     - Resolved
 
 -         
 - 
                    
JDK-8224714 Release Note: Changed Properties.loadFromXML to Comply with Specification
-         
     - Closed
 
 -