Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » XSD1.1 to EMF : How could i simulate XSD Conditional Type Assignment(XSD1.1 to EMF : How could i simulate XSD Conditional Type Assignment with XSDECOREBuilder)
XSD1.1 to EMF : How could i simulate XSD Conditional Type Assignment [message #1720556] Tue, 19 January 2016 10:01 Go to next message
Philippe Favrais is currently offline Philippe FavraisFriend
Messages: 23
Registered: April 2011
Junior Member
Hello all,

I would like to get benefit of one of the new feature of XSD 1.1.
This feature is the "Conditional Type Assignment" that allows the type of an element to be determined by the value of an attribute in the XML document.
Unfortunately, in the today implementation of XsdEcoreBuilder it is not supported.
Does anyone have an idea how to improve XsdEcoreBuilder so that i could simulate the Conditional Type Assignment?

Thank you for your ideas
Philippe
Re: XSD1.1 to EMF : How could i simulate XSD Conditional Type Assignment [message #1720566 is a reply to message #1720556] Tue, 19 January 2016 11:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31152
Registered: July 2009
Senior Member
Philippe,

It's not just an issue of how to improve the XSDEcoreBuilder, which is
itself not trivial because XSD itself 1.1 isn't supported. Not only
that, there's also the issue of how this would be represented in Ecore
(what kind of annotation) and how the serializer and deserializer would
be changed to support such a thing. It's all very non-trivial...



On 19/01/2016 11:01 AM, Philippe Favrais wrote:
> Hello all,
>
> I would like to get benefit of one of the new feature of XSD 1.1.
> This feature is the "Conditional Type Assignment" that allows the
> type of an element to be determined by the value of an attribute in
> the XML document.
> Unfortunately, in the today implementation of XsdEcoreBuilder it is
> not supported.
> Does anyone have an idea how to improve XsdEcoreBuilder so that i
> could simulate the Conditional Type Assignment?
>
> Thank you for your ideas
> Philippe
>
Previous Topic:[ECP] Recommended way to observe for new objects added to projects
Next Topic:[EMF Forms] Text field to property binding issue on Mac OSX / Cocoa
Goto Forum:
  


Current Time: Thu May 28 05:48:14 GMT 2020

Powered by FUDForum. Page generated in 0.01602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top