Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6
-
None
-
None
-
Windows Vista 64, JDK 1.6
Description
Given xml configuration file
<?xml version="1.0" encoding="ISO-8859-1" ?> <empty></empty>
XMLConfiguration xml = new XMLConfiguration(file);
assertTrue(xml.isEmpty());
isEmpty() returned true on version 1.4 ?, now it returns false, and the configuration contains a single empty string as key.
Not sure if this should be considered a bug, but the documnetation reads: Checks if this configuration is empty. Empty means that there are no keys with any values, though there can be some (empty) nodes.
Attachments
Attachments
Issue Links
- relates to
-
CONFIGURATION-6 [configuration] XMLConfiguration inconsistency towards empty values
- Closed