EDN Admin
Well-known member
Please examine my XSD, http://superpipe.sourceforge.net/CmdList.xsd. There are three issues as listed below.
<ol>
When I create a <Group> element, VC# wont let me add any children to it. I need to be able to add any of the following: <Cmd>, <toolbar-menu>, <statusbar-cmd>, and <radiobtn-group>.After reviewing the design, I wanted to use <xs:extension> to derive both <Cmd> and <radiobtn-group> from <Group>. I also want to add a new element, <checkable-cmd> that derives from <Cmd>. But VC# doesnt
seem to consider <xs:extension> as a valid tag in the XSD.How do I tell the validator what the root tag is? From what I can tell, any element tag listed at the top level is a valid root. </ol><hr class="sig Will Pittenger
View the full article
<ol>
When I create a <Group> element, VC# wont let me add any children to it. I need to be able to add any of the following: <Cmd>, <toolbar-menu>, <statusbar-cmd>, and <radiobtn-group>.After reviewing the design, I wanted to use <xs:extension> to derive both <Cmd> and <radiobtn-group> from <Group>. I also want to add a new element, <checkable-cmd> that derives from <Cmd>. But VC# doesnt
seem to consider <xs:extension> as a valid tag in the XSD.How do I tell the validator what the root tag is? From what I can tell, any element tag listed at the top level is a valid root. </ol><hr class="sig Will Pittenger
View the full article