[ https://issues.apache.org/jira/browse/BETWIXT-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin van den Bemt resolved BETWIXT-2. --------------------------------------- Resolution: Fixed Resolving again > Patch for mixed content > ----------------------- > > Key: BETWIXT-2 > URL: https://issues.apache.org/jira/browse/BETWIXT-2 > Project: Commons Betwixt > Issue Type: Bug > Affects Versions: 1.1 Final > Environment: Operating System: All > Platform: All > Reporter: Aslak Hellesøy > Attachments: patch.diff > > > This patch makes it possible to read/write mixed content with Betwixt. It has > been tested with beans that provide their own BeanInfo classes, and not > with .betwixt files. Additional work is probably needed in order to make it > work with .betwixt. Summary: > -- XMLIntrospector -- > In addition to adding elements and attributes, this now adds content too. > XMLIntrospectorHelper.createDescriptor() now returns a Descriptor (and no > longer a NodeDescriptor). > -- AddDefaultsRule -- > No functional changes, just changed call to > XMLIntrospectorHelper.createDescriptor() > -- XMLIntrospectorHelper -- > When introspecting BeanInfo, this class is now looking for a magic "text" > attribute on all the PropertyDescriptors. If one is found, we consider it to > be "PCDATA" and treat it as mixed content. > -- BeanRuleSet -- > Added a body method so that xml->bean conversion is done properly > -- TestXMLIntrospectorHelper -- > Non functional change to make it compile. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]