commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Elliott" <>
Subject XMLConfiguration Empty Tag syntax
Date Mon, 22 Feb 2010 17:34:01 GMT
I'm parsing some XML and moving it over from one XMLConfiguration object
to another as follows:


private void mergeTopNode(XMLConfiguration masterCfg, XMLConfiguration

                                     String nodeName)


        SubnodeConfiguration subNode =

        List nodeList = new ArrayList();



        mergedCfg.addNodes("", nodeList);



I have an issue where the node in the first configuration is:





Using the code above the node appears in the second configuration as 




I checked and the syntax is legal
however the consumer of the second configuration does not seem to follow
the standard. Is there a setting in the library that I could use to
enforce the orginal syntax?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message