commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Scott" <>
Subject [betwixt] info on .betwixt files, "add" methods, and CyclicReferenceExceptions
Date Sat, 07 Dec 2002 20:10:49 GMT
I'm just starting to use betwixt for serializing beans to XML for later
transformation into XHTML using XSLT. Things are generally working OK so
far, although getting it to work was a lot of trial and error
(particularly because I couldn't find good information about how to use
the .betwixt files anywhere!).

Can anyone please answer the following questions:

1) Is there a complete reference for how to use .betwixt files? I've
seen the overview and FAQ betwixt project pages, but nothing else in

2) How does betwixt use "add" methods exactly? What use are they to
betwixt? What relation do they have to the "get" methods?

3) I seem to get CyclicReferenceExceptions when I don't expect to. Maybe
it's my misunderstanding of what a graph cycle is, but I took it to mean
when you get into an infinite cycle with references e.g. A refers to B,
B refers to C, C refers to A, A refers to B etc. I get these exceptions
raised when I have a collection containing multiple references to the
same object. I wouldn't have expected this situation to be treated as a


Darren Scott

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