- Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<parent>xyz
<child1>abc</child1>
<child2>123</child2>
</parent>
</root>
Calling getString/getRawString with "parent" as the key returns the value "xyzabc123" (I would expect it to return just "xyz"). Is there justification for this behavior or is this a bug? If this is intended behavior, then is there a mechanism to get just the value from "parent"? I'd like to do this through AbstractConfiguration, instead of having to work directly with an XMLConfiguration, or worse yet, dropping down to the XML layer.
Thanks in advance!





