Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
-
None
Description
With XMLConfiguration it is not possible to change the value of an attribute of the root element.
New attributes on the root level can be created, e.g.:
XMLConfiguration config = new XMLConfiguration();
config.addProperty("[@test]", "true");
would create a new "test" attribute of the root element. However if this configuration is saved and loaded again, a
config.setProperty("[@test]", "false");
only temporarily changes the value: getProperty() returns the new value, but when the configuration is saved, the old value is written.