Bug 425636 - Support "XML Persistence Mapping XSD schema generation"
Summary: Support "XML Persistence Mapping XSD schema generation"
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 04:39 EST by Yue Ma CLA
Modified: 2024-05-07 00:57 EDT (History)
3 users (show)

See Also:


Attachments
Support "XML Persistence Mapping XSD schema generation" (1.76 KB, text/plain)
2014-01-14 04:42 EST, Yue Ma CLA
stephaneberle9: iplog+
Details
Support "XML Persistence Mapping XSD schema generation" (521.30 KB, application/x-zip-compressed)
2014-02-11 10:26 EST, Yue Ma CLA
stephaneberle9: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yue Ma CLA 2014-01-14 04:39:50 EST
=Problem description=
Definition of domain specific languages by means of meta models has become common practice in standardization organizations such as AUTOSAR, EAST-ADL and ReqIF. Each organization has defined its own meta modeling rules and specifications for mapping the meta model to XML Schema. Additionally, it often takes a pretty long time before tool vendors are able to provide tools that support the new standard.

In order to enable interoperability between systems and organization, it is required to agree on a common metamodel and a common representation that is used for exchange. Sphinx provides such a new contribution that describes a highly configurable framework that allows deriving computer readable XSD schema files from their annotated metamodel which is mapped by the XML persistence mapping rules.

=Proposed solution=
Sphinx defines the XML persistence mapping rules that map between models and XSD schema that covers many existing XML mappings such as OMG XMI 1.x and 2.x as well as OMG ReaIF and AUTOSAR. Using such rules, a new XML XSD schema can be generated automatically whenever the metamodel is updated.

Tools that generate XSD schema according to the XML persistence mappings are provided: 
- Ecore model is mapped to fully annotated XML persistence mapping model. 
- Ecore metamodel with XML persistence mapping annotations is mapped to the XML schema by means of the XML persistence mapping rules. 

The following plugins are provided:

* org.eclipse.sphinx.emf.serialization.generators
	generators for Ecore with XML persistence mapping annotations
        generators for XSD schema

* org.eclipse.sphinx.emf.serialization.generators.ui
	UI handlers to generate Ecore with XML persistence mapping annotations and XSD schema
Comment 1 Yue Ma CLA 2014-01-14 04:42:37 EST
Created attachment 238953 [details]
Support "XML Persistence Mapping XSD schema generation"
Comment 2 Yue Ma CLA 2014-02-11 10:26:08 EST
Created attachment 239829 [details]
Support "XML Persistence Mapping XSD schema generation"
Comment 3 Balazs Grill CLA 2024-05-07 00:57:51 EDT
Closed stale issue before migration