commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Berg (JIRA)" <j...@apache.org>
Subject [jira] Created: (CONFIGURATION-403) XMLConfiguration isEmpty has altered behaviour between 1.4 and 1.6
Date Thu, 14 Jan 2010 12:36:54 GMT
XMLConfiguration isEmpty has altered behaviour between 1.4  and 1.6
-------------------------------------------------------------------

                 Key: CONFIGURATION-403
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-403
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.6
         Environment: Windows Vista 64, JDK 1.6
            Reporter: Daniel Berg
            Priority: Minor
             Fix For: 1.7


Given xml configuration file
{code:xml} 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<empty></empty>
{code}

{code}
XMLConfiguration xml = new XMLConfiguration(file);
assertTrue(xml.isEmpty());
{code}

isEmpty() returned true on version 1.4, now it returns false, and the configuration contains
a single empty string as key.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message