Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
32318
Description
Starting with the JDK 1.5 the java.util.Properties class supports a new XML format:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#loadFromXML(java.io.InputStream)
An XML properties file looks like this:
<?xml version="1.0"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Description of the property list</comment>
<entry key="key1">value1</entry>
<entry key="key2">value2</entry>
<entry key="key3">value3</entry>
</properties>
This could be implemented as an XMLPropertiesConfiguration class, or as a
modification of XMLConfiguration or PropertiesConfiguration with a switch on the
loading mechanism when the DOCTYPE is detected.
Attachments
Issue Links
- depends upon
-
CONFIGURATION-190 [configuration] .properties header
- Resolved