Subject:bug while creating xml from xsd. Author:sree devi Date:20 Nov 2005 01:25 AM Originally Posted: 20 Nov 2005 01:23 AM
Hi<br>
<br>
I am using xsds with substitution groups that are more than one level deep with each substituiton group in a seperate xsd and use import statements to call other xsds.<br>
I thus have 3 xsds, 2 of which have substitution groups each. <br>
Second xsd will call first xsd content through import statement. <br>
The third xsd calls the second xsd content through import statement too.<br>
<br>
But the instance documents created through Stylus have two problems:<br>
<br>
1) Instance documents of the substitution groups xsd (of second level)seem to treate SUBSTITUION GROUPS as TYPE SUBSTITUION since it has entry for xsi:type and expects user to fill in the type. <br>
<br>
2) The third xsd which calls the second has missing namespace of the first xsd and thus has validation error.<br>
<br>
The above two issues happen only in case IMPORT statement. thus work fine in case of INCLUDE statement usuage.<br>
<br>
Looks like these are the bugs in STYLUS??<br>
<br>
Any input regarding this is highly appreciated.<br>