Browse Source
JDK 5 introduced an XML-based properties file syntax. This commit ensures that when such files are supplied as the underlying resource for a ResourcePropertySource instance, they are routed appropriately to Properties#loadFromXML as opposed to Properties#load. Issue: SPR-9896pull/218/head
Chris Beams
12 years ago
3 changed files with 31 additions and 4 deletions
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> |
||||
<properties version="1.0"> |
||||
<entry key="foo">bar</entry> |
||||
</properties> |
||||
|
Loading…
Reference in new issue