Philip Schlesinger wrote: > > I started adding a new set of nodes to the XML Schema in XMLEditor. I > created the xs:element "coating_event", then a sub-node xs:complexType, then > sub-node to that xs:all. > > I then tried adding attributes "maxOccurs" and "minOccurs". The settings you > see on your screen in the middle pane were somehow saved to the test.xsd > file. But as you see on left pane, the values are "???" - and viewing the > raw XML directly shows these "???" values.
This not really a bug. "???" is just a placeholder which is here to remind you that you need to specify an actual value. However, I agree that setting the "minOccurs" and "maxOccurs" attributein the case of an "xs:all"[*] WXS element is not very convenient. --> After adding "maxOccurs" using the "+" button, use the Attribute tool to set it to 1 (i.e. use the mini-combobox -- see attached screenshot). --> After adding "minOccurs" using the "+" button, use the Attribute tool to set it to 0 or 1 (i.e. use the mini-combobox -- see attached screenshot). --- [*] For which such attributes are restricted to be 0 or 1 -- that is, for example, "unbounded" is not supported for "xs:all"'s "maxOccurs". -------------- next part -------------- A non-text attachment was scrubbed... Name: AttributeTool_minOccurs_combobox.png Type: image/png Size: 7104 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070718/2e686651/attachment.png

