VC# 2010 Express won't let me add elements to children of tag using a custom XSD

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
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. :p</ol><hr class="sig Will Pittenger

View the full article
 
Back
Top