Book a Demo

Author Topic: Problem with XSD element properties  (Read 3032 times)

lvdbrink

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Problem with XSD element properties
« on: March 19, 2009, 06:55:33 pm »
Hi all,

We are using EA to generate XML Schemas and work with the XML Schema toolbox.

When class attributes have the XSDelement stereotype, and you doubleclick them, the XSD element properties window is opened.

I have encountered a bug with the minOccurs and maxOccurs fields.
I want to enter a cardinality of [0...n].

If I enter minOccurs = 0 and maxOccurs = n, upon exiting the window it is changed to [1...n].

If I enter minOccurs = 0 and maxOccurs = *, upon exiting the window it is changed to [0...-1]

The same happens if I enter maxOccurs = unbounded.

If I enter the values for min and max in the normal Attribute properties window, they are saved correctly, but the next time the XSD element properties window is opened, they are changed to the faulty values again.

We are using EA 7.0.817.