test/jdk/java/util/Properties/invalidxml/invalidDTD.xml
author joehw
Tue, 04 Dec 2018 14:53:00 -0800
changeset 52825 2077a5437d43
permissions -rw-r--r--
8213325: (props) Properties.loadFromXML does not fully comply with the spec Reviewed-by: alanb, rriggs, dfuchs, naoto

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd" 
 [<!ENTITY intEnt 'value3'> ]>
<?PITarget PIContent?>
<properties>
<comment>Property With Other Encoding</comment>
<entry key="Key1">value1</entry>
<entry key="Key2"><![CDATA[<value2>]]></entry>
<entry key="Key3">&intEnt;</entry>
</properties>