Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/MOXy"

(Development status)
m (Development status)
Line 1: Line 1:
=== Development status ===
+
== MOXy/JAXB Development home page ==
<table border=1 cellspacing=0>
+
<tr>
+
<th>Task</th><th>Dependencies</th><th>Owning Committer</th><th>Estimate</th><th>Status</th><th>Bugzilla bug</th><th>Notes</th>
+
<tr>
+
  
<!-- Enter Tasks Here -->
+
=== Roadmap ===
<tr><td colspan=7>'''JAXB2.0'''</td></tr>
+
==== EclipseLink2.1 ====
<tr><td>StAX Support: Marshalling, Unmarshalling </td><td>&nbsp;</td><td>Matt</td><td>&nbsp;</td><td>1.0M8: Completed</td><td>&nbsp;</td><td>Support is provided using Java SE 6 as the base platform.   We can use javax.xml.transform.stax APIs to convert StAX events that we currently don't understand to SAX events which we do understand. </td></tr>
+
# [http://wiki.eclipse.org/EclipseLink/DesignDocs/277920 | MOXy External Metadata]
 +
# [http://wiki.eclipse.org/EclipseLink/Development/DynamicOXM MOXy Dynamic Persistence]
 +
==== EclipseLink2.2 ====
  
<tr><td>Annotation: XmlElementDecl</td><td>Needs primitive element support</td><td>Matt</td><td>&nbsp;</td><td>1.0M8: Complete</td><td>&nbsp;</td><td>An annotation that appears on ObjectFactory's factory methods and provides information about global elements from the schema. The type of these global elements can be either a simple type or a JAXB bound type. In either case, this element information needs to be processed and stored in order to be recognized when parsing an XML document. This ties in with the current primitive root element support that's being done in OXM</td></tr>
+
==== Future ====
  
<tr><td>Annotation: XmlElementRef, XmlElementRefs </td><td>Needs XmlElementDecl
+
=== Backlog of development items ===
</td><td>Matt</td><td>&nbsp;</td><td>1.0 Complete</td><td>221867</td><td>Annotations that are used to handle substitution groups in JAXB 2.0. The XmlElementRefs annotation can contain multiple XmlElementRef annotations.
+
Support for this annotation will also require that we add support for JAXBElement/XMLRoot to be a child element and not just a root-level element since in the case that the XmlElementRef references something specified by an XmlElementDecl (as opposed to XmlRootElement) it must be wrapped in a JAXBElement</td></tr>
+
 
+
<tr><td>DomHandler </td><td>&nbsp;</td><td>Matt</td><td>&nbsp;</td><td>1.0 Complete</td><td>&nbsp;</td><td>DomHandler is used in conjunction with an XmlAnyElement mapping to specify a custom way that parts of an XML that are being unmarshalled are converted to a DOM representation. During an unmarshal operation; the binding layer first makes a call to get a Result object from the specified DomHandler. Then a portion of XML is sent to this result, and finally, the binding layer invokes a "getElement" method on the DomHandler to retrieve the XML DOM representation. During marshal, a marshal method must be invoked on the DomHandler that returns a Source. That source is then sent to the resulting XML document. This could possibly be implemented as a converter in the JAXB layer, or added into core OXM
+
Support for this was added using a Converter on the XmlAnyCollectionMapping </td></tr>
+
 
+
<tr><td>Annotation: XmlMixed</td><td>Needs XmlElementRef, XmlElementRefs</td><td>Matt</td><td>10 days</td><td> </td><td>227413</td><td>This annotation can be used in conjunction with an XmlAnyElement or XmlElementRef/XmlElementRefs annotation. It is used to indicate that mixed content is allowed for this complex-type</td></tr>
+
 
+
<tr><td>XMLConversionManager</td><td>&nbsp;</td><td>&nbsp;</td><td>10 days</td><td> </td><td>227414</td><td>Provide additional support for javax.xml.datatype primitive classes </td></tr>
+
 
+
<tr><td>Notation</td><td>&nbsp;</td><td>&nbsp;</td><td>5-10 days</td><td> </td><td>227416</td><td>If the XML document contains a value "prefix:name" then we need to convert this to a new javax.xml.namespace.QName(NAMESPACE_FOR_PREFIX, name)
+
This could be done with a new NOTATION Mapping (2 weeks), OR by passing a NamespaceResolver into XMLConversionManager to be used when doing a conversion to QName (1 week)</td></tr>
+
 
+
<tr><td>Error Handling</td><td>&nbsp;</td><td>&nbsp;</td><td>10 days</td><td> </td><td>&nbsp;</td><td>Currently the JAXB project and Schema generation will quietly fail in cases when exceptions should be thrown. For example, if an XmlAnyAttribute annotation appears on a non-map property, the JAXB generator will just ignore it rather than throw an exception. A lot of these cases will be uncovered by the TCK</td></tr>
+
 
+
<tr><td colspan=7>'''JAXB2.1'''</td></tr>
+
<tr><td>Marshaller/Unmarshaller APIs</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>1.0 Complete</td><td>&nbsp;</td><td>Add some new unmarshal/marshal APIs.  The corresponding APIs should also be added to XMLUnmarshaller & XMLMarshaller if they are not already present
+
https://jaxb.dev.java.net/issues/show_bug.cgi?id=221</td></tr>
+
 
+
<tr><td>Annotation: XmlSeeAlso</td><td>&nbsp;</td><td>&nbsp;</td><td>5 days</td><td> </td><td>227419</td><td>This is a JAXB 2.1 annotation that simply gives a list of related classes. This is so a user can create a JAXBContext from a single class, and enumerate other classes that need to be bound through the use of this annotation. Typical use would be to enumerate the subclasses of a given class since that is a non-trivial task to do using reflection. Minimal work involved
+
https://jaxb.dev.java.net/issues/show_bug.cgi?id=201</td></tr>
+
 
+
<tr><td>Annotation - XmlElementWrapperRequired</td><td>&nbsp;</td><td>&nbsp;</td><td>5 days</td><td> </td><td>227422</td><td>Currently we only write out the grouping elements if leaf element is written out.  We would need the option to always write the grouping element
+
https://jaxb.dev.java.net/issues/show_bug.cgi?id=192</td></tr>
+
 
+
<tr><td>Annotation - XmlTransient on Class</td><td>&nbsp;</td><td>&nbsp;</td><td>5 days</td><td> </td><td>227425</td><td>Allow @XmlTransient to be placed on a class, to indicate that it doesn't have the corresponding XML representation
+
https://jaxb.dev.java.net/issues/show_bug.cgi?id=216</td></tr>
+
 
+
 
+
</table>
+

Revision as of 12:53, 11 June 2010

MOXy/JAXB Development home page

Roadmap

EclipseLink2.1

  1. | MOXy External Metadata
  2. MOXy Dynamic Persistence

EclipseLink2.2

Future

Backlog of development items

Back to the top