commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <>
Subject Re: [betwixt] saving/reading more than one bean in the same xml file
Date Fri, 13 May 2005 11:15:03 GMT
On 5/13/05, Thomas Kraft <> wrote:
> <?xml version='1.0' ?>
>   <configuration>
>     <description>TestDescription</description>
>   </configuration>
>   <additional>
>     <description>TestDescription</description>
>   </additional>

This is not a betwixt problem, but rather this XML is not valid at
all. In XML files you can only have a single top-level element (the
root), but in your example you got two top-level elements. The easiest
solution would probably to define a root element which you can specify
for betwixt too, though you need a .betwixt file (or a multi-mapping
if you're using 0.61-dev from SVN) for this.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message