Skip to main content



      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 05:01 Go to next message
Eclipse UserFriend
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 06:17 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 08:36:29 EDT 2025

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

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

Back to the top