|
Re: Saved XMI is not valid by generated XSD problem. [message #1107314 is a reply to message #1107133] |
Thu, 12 September 2013 08:26 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Kiroki,
You generated an XMI schema? Was the saved model valid according to the
Ecore model? What's the multiplicity of such an attribute in the Ecore
model?
On 12/09/2013 4:10 AM, Hiroki Kondo wrote:
> Hi,
>
> I generated xsd file from ecore to validate XMI.
>
> But in xsd, String attribute in the ecore is always set 'required'.
> It occur validation error.
>
> Why does the attribute always set 'required'?
>
> I fix it by set 'Defalut Literal Value' at all String attribute and
> set the save option OPTION_KEEP_DEFAULT_CONTENT to be TRUE.
> Best Regards,
> Hiroki
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02016 seconds