Hi I have an xsd file containing the following

<xsd:complexType name="SimpleSwaType">
<xsd:element name="Attachment" type="wsi:swaRef"></xsd:element>

I have defined the namespace for wsi prefix as follows:


But its showing error at the highlighted line.

I am not able to trace out the issue. Googled and found that the same issue is being faced by many people.

Please assist.

Thanks in advance