Home » Eclipse Projects » Sirius » How to represent CData,Text,comment,ProcessingInstruction in eclipse sirius(How to represent CData,Text,comment,ProcessingInstruction in eclipse sirius)
| | | |
Re: How to represent CData,Text,comment,ProcessingInstruction in eclipse sirius [message #1799579 is a reply to message #1798535] |
Mon, 10 December 2018 09:08   |
Eclipse User |
|
|
|
Hi Ed Willink
Thanks for the reply
Im trying to explain in clear.Please help me
Iam having a class which is having a feature mixed.This feature mixed will hold (text,CDATA,Comment).
mixed[ecore.xml.type: text]
mixed[ecore.xml.type: CDATA]
mixed[ecore.xml.type: Comment]
I have created the sirius representation for the class but I dont know how to create sirius representation for (text,CDATA,Comment) so that (text,CDATA,comment) needs to display as a property so that we need to allow user to give values for mixed.
Please help
|
|
|
Re: How to represent CData,Text,comment,ProcessingInstruction in eclipse sirius [message #1799580 is a reply to message #1799579] |
Mon, 10 December 2018 09:29  |
Eclipse User |
|
|
|
Hi
IMHO EMF's support for mixed representations is a necessary evil to provide comprehensive support for unmodeled XML/XSD. On those rare occasions when I have had to investigate it, I have found it tricky and hard to understand.
I very strongly recommend that you do use the mixed representation as part of your design. I have already pointed you at a modeled XML that avoids many of the difficulties. It already has a Sirius editor. Perhaps it needs extension, perhaps it needs XSD support too, but it appears you just ignore it.
When it comes to mixed representations you may well be on your own. I certainly cannot help. You will need to become very expert at EMF to progress. Good luck.
Regards
Ed Willink
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:03:26 EDT 2025
Powered by FUDForum. Page generated in 0.07275 seconds
|