I apologize if this has already been answered, but I have not found it
searching the archives and I have not been very active lately.
I was recently designing a new XSD, and decided to try element substitution
instead of xsd:choice so that it could have a cleaner path to future
enhancements...
In the XSD, I defined a complexType optionConfig, and an abstract reference
element option
I extended optionConfig to flagConfig, valueConfig, and toggleConfig
I created reference element for flag, value, and toggle with
substitutionGroup="option"
In the xsd:sequence, I put the ref="option"
The autogenerated API says that the valid values are option, value, toggle,
flag, and optionConfig
Now, although I would like "option" no not be on the list, the one I am
concerned about is optionConfig. Why is the abstract element's type listed
as a valid child -- the other 3 types are not....
Thanks ahead of time.
Malachi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net