Skip to main content

Notice: This Wiki is now read only and edits are no longer 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/DesignDocs/217508"

Line 8: Line 8:
  
 
= Document History =
 
= Document History =
 +
 
{|{{BMTableStyle}}
 
{|{{BMTableStyle}}
 
|-{{BMTHStyle}}
 
|-{{BMTHStyle}}
Line 14: Line 15:
 
! Version Description & Notes
 
! Version Description & Notes
 
|-}
 
|-}
 +
 +
{|{{BMTableStyle}}
 +
|-{{BMTHStyle}}
 +
! Issue #
 +
! Description / Notes
 +
! Decision
 +
|-}
 +
  
 
<div style="clear:right"></div>
 
<div style="clear:right"></div>

Revision as of 17:29, 1 February 2008


Support for Root Elements representing Simple Types

ER 217508

Document History

Date Author Version Description & Notes

Project overview

Currently EclipseLink OXM does not support the unmarshalling of documents that contain top-level elements that represent simple types. For example, the JAXB TCK uses the following types of test documents:

XML Schema:

<schema ...>
...
   <element name="NISTSchema-base64Binary-enumeration" type="nist:NISTSchema-base64Binary-enumeration-Type"/>
 
   <simpleType name="NISTSchema-base64Binary-enumeration-Type">
      <restriction base="base64Binary">
         <enumeration value="bHlsY2JmaXFjaW9ubmg="/>
      </restriction>
   </simpleType>
</schema>

XML Instance Document:

<NISTSchema-base64Binary-enumeration
    xmlns="NISTSchema-base64Binary-enumeration-NS"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="NISTSchema-base64Binary-enumeration-NS enumeration.xsd">zGk=</NISTSchema-base64Binary-enumeration>

Goals:

  • Allow the user to marshal and unmarshal XML documents that contain simple type root elements.

Concepts

Requirements

Functionality

Design Constraints

Maintainability

GUI

Config files

Documentation

Open Issues

This section lists the open issues that are still pending that must be decided prior to fully implementing this project's requirements.

Issue # Description / Notes Decision

Decisions

This section lists decisions made. These are intended to document the resolution of open issues or constraints added to the project that are important.

Issue # Owner Description / Notes

Future Considerations

Issue # Description / Notes Decision

Back to the top