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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
52825
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     2
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd" 
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     3
 [<!ENTITY intEnt 'value3'> ]>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     4
<?PITarget PIContent?>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     5
<properties>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     6
<comment>Property With Other Encoding</comment>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     7
<entry key="Key1">value1</entry>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     8
<entry key="Key2"><![CDATA[<value2>]]></entry>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
     9
<entry key="Key3">&intEnt;</entry>
2077a5437d43 8213325: (props) Properties.loadFromXML does not fully comply with the spec
joehw
parents:
diff changeset
    10
</properties>