commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin van den Bemt (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (BETWIXT-2) Patch for mixed content
Date Sat, 30 Jun 2007 10:05:05 GMT

     [ https://issues.apache.org/jira/browse/BETWIXT-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin van den Bemt reopened BETWIXT-2:
---------------------------------------


Jira thinks this is unresolved, even though it is fixed

> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message