You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Berg (JIRA)" <ji...@apache.org> on 2010/01/14 15:36:54 UTC

[jira] Updated: (CONFIGURATION-403) XMLConfiguration isEmpty has altered behaviour between 1.4 and 1.6

     [ https://issues.apache.org/jira/browse/CONFIGURATION-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Berg updated CONFIGURATION-403:
--------------------------------------

    Fix Version/s:     (was: 1.7)

> 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
>
> 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.