Re: What's wrong with the following XML??

2008-03-20 Thread Dan Hwang
Hi, Thanks for the answer. However, making both subComponents include sequence/ didn't work. I guess my main questions is how does relationships affect subComponent? It was working fine before the relationships was introduced. Thanks again, Dan On Wed, Mar 19, 2008 at 6:37 PM, Jacob Danner

What's wrong with the following XML??

2008-03-19 Thread Dan Hwang
Hello, I've beening using inst2xsd script to generate xsd from xml. I added relationships block to add some new features. After regenerating the xsd, I noticed that subComponents has been changed. before ... xs:element name=subComponents xs:complexType

Re: What's wrong with the following XML??

2008-03-19 Thread Jacob Danner
I can see why inst2xsd tool is doing that. subComponents subComponent/ subComponent sequence/ /subComponent /subComponents The tools sees: subcomponent / and subComponentsequence / ... As 2 different types, if you want to correct that, you can