[ http://jira.codehaus.org/browse/JIBX-8?page=comments#action_55177 ]
Dennis Sosnoski commented on JIBX-8: ------------------------------------ The above (Maros's comment) can already be done in several ways, such as by defining an abstract mapping for the Vehicle class which is extended by a concrete mapping each Vehicle subclass. There's then no need to list these as explicit alternatives for the "vehicle" field - they'll automatically be handled based on the actual type of vehicle found at runtime (or the actual element name, when unmarshalling). > Add support for xs:choice > ------------------------- > > Key: JIBX-8 > URL: http://jira.codehaus.org/browse/JIBX-8 > Project: JiBX > Type: New Feature > Components: core > Reporter: Dennis Sosnoski > Assignee: Dennis Sosnoski > Priority: Minor > Fix For: 1.0-RC1 > > > xs:choice support is worth adding, and should be easy to fit into the code > generation (since it's already basically there for the collection handling > case; the only difference is that for a choice there's no looping to handle > multiple elements). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
