You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/04/24 01:34:03 UTC
DO NOT REPLY [Bug 19262] New: -
Patch for mixed content
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19262>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19262
Patch for mixed content
Summary: Patch for mixed content
Product: Commons
Version: 1.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Betwixt
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: aslak.hellesoy@netcom.no
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org