Default language in Payload Publication

Submitted by Joerg Freudenstein on Wednesday, 2 March, 2016 - 14:58
Issue ID
211
Component
Tool
Category
Bug report
Priority
Normal
Assigned
Status
By design
Source
Website
Description

In Enterprise Architect, the PayloadPublication class has got an attribute "defaultLanguage". The Tool produces an inline attribute with name "lang", i.e. there is a discrepance between the names in the EA 'pictures' and in the resulting XSD or XML files.

(This might be a model issue and/or as a Tool issue)..
To be considered whether this is still a problem in Version 3.0.
 

Found Version
{"changeLogs":[{"date":1528365450659,"componentOLD":"- Select a value -","component":"Tool","categoryOLD":"- Select a value -","category":"Bug report","priorityOLD":"- None -","priority":"Normal","assignedOLD":"","assigned":"jaderberg (22)","statusOLD":"- None -","status":"By design"},{"date":1537268004342}]}

Posted by jaderberg on July 18, 2033 Permalink

This is by design.
There are two tagged vales that makes this happen
attribute = yes, makes it a attribute instead of an element
schemaName = lang, translates defaultLanguage to lang

If I remember right, this was chosen to follow best practises for designen XML schema / XML.