Bug 105660

Summary: XMLSchema code generator doesn't include private attributes
Product: [Applications] umbrello Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.