Rank: Newbie
Joined: 8/17/2009 Posts: 2 Location: Kentucky
|
Greetings.
I'm using XMLSpy 2009 EE sp 1. I've got a need to allow the schema (XSD) to change by allowing elements to be added but without breaking existing clients. I wanted to do this by marking these elements as "optional" in some way but while I've seen examples of a "minOccurs" attribute of the xs:element element, this attribute does not appear in XMLSply but only these: "abstract", "block", "default", "final", "fixed", "id", "nilable", "substitutionGroup" and "type". I'm wondering if the parser that XMLSpy is using does not recognize these attributes and, if not, is there a download or a setting I can switch?
Thanks!
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
You will see min/maxOccurs everywhere, except in Global Elements. You can't set these attributes globally - only where these elements are used.
|
Rank: Newbie
Joined: 8/17/2009 Posts: 2 Location: Kentucky
|
Thanks, Vlad. That makes perfect sense.
|