Bug 390335 - Use fixed value xml-bindings "version" attribute for oxm schemas.
Summary: Use fixed value xml-bindings "version" attribute for oxm schemas.
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 09:37 EDT by Paul Fullbright CLA
Modified: 2022-06-09 10:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Fullbright CLA 2012-09-25 09:37:06 EDT
In orm and eclipselink-orm schemas, there is a fixed value version attribute on the root element.  (e.g. using orm.xsd 2.0 a user *must* specify a version of "2.0".)

In MOXy, (2.3 and above) the version attribute allows all previous versions.  This actually clouds the use case for end users, since MOXy doesn't actually do anything with this value.  The version here is more for signalling what validation to use, and in MOXy's case, since everything is backwards compatible, it only matters if the version is higher than MOXy's version.  For other users (Dali, for instance) the version indicates what level of validation to apply, or what features are included.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:09:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink