[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Reopened: (BETWIXT-2) Patch for mixed content
From:       "Martin van den Bemt (JIRA)" <jira () apache ! org>
Date:       2007-06-30 10:05:05
Message-ID: 9325308.1183197905937.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic