Bug 105660 - XMLSchema code generator doesn't include private attributes
Summary: XMLSchema code generator doesn't include private attributes
Status: CONFIRMED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 17:56 UTC by Jonathan Riddell
Modified: 2021-03-09 07:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Riddell 2005-05-14 17:56:02 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

When generating a XMLSchema the Private Attributes are not present
Comment 1 Vincent Ricard 2005-10-30 18:31:28 UTC
Extracted from xmlschemawriter.cpp:
            switch(at->getVisibility())
            {
              case Uml::Visibility::Public:
              case Uml::Visibility::Protected:
                attribs.append(at);
                break;
              case Uml::Visibility::Private:
                // DO NOTHING! no way to print in the schema
                break;
            }

So, the patch would be simple, but the author has maybe a good reason to not generate the private attributes...
Comment 2 Justin Zobel 2021-03-09 07:00:40 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.