commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36916] New: - Options not digested in MultiMappingBeanInfoDigester
Date Tue, 04 Oct 2005 18:54:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36916

           Summary: Options not digested in MultiMappingBeanInfoDigester
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Betwixt
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: bdferris@u.washington.edu


The regular XML bean info digester properly supports "<options>" in the .betwixt
definition for a single class.  Such support is missing for Multi Class
Mappings, as digested with
org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester.

The bug is simple.  In the XMLBeanInfoDigester.configure() method, rules are
properly added for digesting "<option>" entries, while similar rules are not
added in MultiMappingBeanInfoDigester.configure().  On a side node,
MultiMappingBeanInfoDigester.configure() also appears to be missing "<text>"
support as well.

I will be attaching a patch + JUnit test case addressing the issue.  However,
refactoring the code base so that the digest rules do not have to be maintained
in two different places might be a good idea.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message