[ 
https://issues.apache.org/jira/browse/CONFIGURATION-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671489#action_12671489
 ] 

Oliver Heger commented on CONFIGURATION-362:
--------------------------------------------

The author of XMLPropertyListConfiguration is currently not active on the 
mailing list, but hopefully he will join again. So I would recommend giving him 
some time to comment.

Unfortunately I do not use this class and have no knowledge of the plist 
format, so I won't be of great help in solving this problem.

> XMLPropertyListConfiguration doesn't handle empty <dict/> correctly
> -------------------------------------------------------------------
>
>                 Key: CONFIGURATION-362
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-362
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: Mac OS X 10.5.6  JDK 1.5
>            Reporter: Kent McPhee
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Empty "dict" elements are not handled properly.   During printing of a 
> configuration, configuration nodes that have no children and no value are 
> assumed to be "strings" (see XMLPropertyListConfiguration.java:printValue()'s 
> last "else" clause).   <dict/> is parsed in such a way (see startElement() 
> and endElement() of that same file) that it ends up creating a configuration 
> node with no children and no value.  Thus printing out a parsed property list 
> will print <string>null</string> everywhere an empty dictionary was in the 
> input.

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

Reply via email to