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:
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=37369
> 
> 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.

+1

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
appropriate.

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
tomorrow... 

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to