commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
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 <kraft@synyx.de> 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.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message