Skip to main content
Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/359251"

m (To Do)
m (Future)
Line 83: Line 83:
== Future ==
== Future ==
The following items are of low priority and will be pushed out to a future release.
=== <strike>OverrideAnnotationOf</strike>  ===
=== <strike>OverrideAnnotationOf</strike>  ===

Revision as of 12:06, 23 February 2012

Design Documentation: JAXB RI Extensions

ER 359251

In the current JAXB RI, developed by Sun, there are a series of "proprietary" JAXB extensions that are available to provide advanced JAXB functionality outside of the JAXB spec (these extension classes reside in the com.sun.xml.bind package).

This page will track the various JAXB Extensions that we want to bring into MOXy.

Jan. 2012: Other extension properties:

To Do

The following items are being targeted for EclipseLink 2.3.3 and 2.4.0.

Test Get/Set For All Properties

We need to ensure that we test getting all these properties as well as setting them.


  • Added for the benefit of Hibernate users
  • Difficult to implement, no documentation, can be replaced by @XmlJavaTypeAdapter



The following items have been checked into EclipseLink 2.3.3 and 2.4.0.






XML Declaration Control


The following items are of low priority and will be pushed out to a future release.


  • Allows for more flexible mapping (?)
  • Doesn't work if the field to override is not named "content", customization doesn't work (RI)
  • mgrebac: "The above annotation was actually used only for a very specific case of supporting usecase with XmlMixed, and is actually even not expected to be used outside of xjc."


  • Seems to be mainly used internally by the RI
  • Interface only defines get methods... is user resonsible for setting up com.sun.xml.bind.v2.runtime.Location objects? Is this even meant to be a user-feature?
  • mgrebac: "No, this is as well not meant to be user feature, is usable for xjc itself and plugins to point to correct source when there is a failure."


  • Doesn't work in RI
  • Deprecated in the RI, no need to implement since we have XmlIsSetNullPolicy?
  • mgrebac: "Correct - deprecated, unused, we shall be able to remove it safely at this point actually."

Back to the top