commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Schönemann (JIRA) <j...@apache.org>
Subject [jira] [Closed] (CONFIGURATION-549) User guide: Validation of XML configuration files: config.load()
Date Mon, 01 Jul 2013 06:10:24 GMT

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

Andy Schönemann closed CONFIGURATION-549.
-----------------------------------------

    Resolution: Not A Problem
    
> User guide: Validation of XML configuration files: config.load()
> ----------------------------------------------------------------
>
>                 Key: CONFIGURATION-549
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-549
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Andy Schönemann
>            Priority: Minor
>
> In the following section of the user guide it would be a good point to write, that when
you use {{config.load()}} to activate the previously set validation of the schema, the default
behavior is that your configuration file is "cloned":
> http://commons.apache.org/proper/commons-configuration/userguide/howto_xml.html#Validation_of_XML_configuration_files
> That means, that calls of {{config.getList(...)}} will contain all results twice!
> Perhaps you better use {{config.refresh()}} here? The using of {{config.reload()}} does
not activate the validation of the schema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message