[xsd-users] xsd:ref problem

Balasubramanyam, Shivakumar sbalasub at qualcomm.com
Thu Mar 6 18:42:41 EST 2008


Hi,

 

I am using the xsd:ref and I am have some issues. Here is the use case
with some psedo-xsd. I will send actual ones if this is confusing.

 

 

core.xsd  => namespace = types

<element name="X"/>

 

FeatureX.xsd        => namespace = types

<element name="Y"/>

 

 

Application.xsd=> namespace = app

            Include core.xsd

            Include FeatureX.xsd      

            <element ref="types.X"/>

            <element ref="types.Y"/>

 

 

When CS generate the code, reference to X is found but not Y. Any ideas
why?

 

Why cannot I have two elements in different files in the same namespace?

 

Thanks,

Shiva




More information about the xsd-users mailing list