Next in thread → Next in month →

Re: [xml-dev] XML Spy Help...

From
Thomas B. Passin <>
To
Date
2002-04-23T23:43:13Z
ID
<008701c1eb20$a21d3af0$0bf13044@tbp>
Thread
Re: [xml-dev] XML Spy Help...
[Nischal Muthana]
>
> This might be an off-topic question, but I thought
> some you might have come across the same situation. I
> am using XML Spy IDE for my XML/XML Schema stuff. When
> creating an .xsd, in the element tag if I specify
> minOccurs="1" and save and close the file and open it
> again, the minOccurs is gone. This might be because
> when I open a file it is opened by default in the
> Schema Design view.
>
> <xs:element name="environment" type="xs:string"
> minOccurs="1" maxOccurs="unbounded"/>
>
>
> Is there anywhere a setting where I can say I need
> this at anytime.
>

minOccurs=1 is the default, so removing the attribute doesn't change
anything, at least to the schema processsor.  It could be useful to humans,
though, to clearly state your intentions.

Cheers,

Tom P
Next in thread → Next in month →