commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject Re: [betwixt] strange behaviour with multimapping
Date Mon, 07 Nov 2005 22:29:48 GMT
On Sat, 2005-11-05 at 16:26 +0100, Thomas Dudziak wrote:
> Hi,
> I've created a bug report for it that contains a test case for it:
> I think it has something to do with the fact that in (in the test
> case) the collection of class Element uses SubElement (for the updater
> method) which however is not contained in the mapping (only its
> subtypes are). This seems to confuse betwixt when reading the invalid
> XML.


it's the two stages of polymorphism which are confusing the engine. a
BeanBindAction is used for the mapping to allow a later potential
polymorphic match. however, no check is made that the name is

betwixt needs to check that there is a polymorphic match either before
assigning the mapping action or upon instance creation. i need a little
time to think upon the right approach so i'll leave the fix till

- robert

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

View raw message