Hi All,

         

I defined multi-XSD file with the same namespace, code as below:

 

<!--begin-->

         HelperContext hc = SDOUtil.createHelperContext(true);      

    List  list1 =
hc.getXSDHelper().define(ClassLoader.getSystemResourceAsStream(SdoSampleCons
tants.COMPANY_XSD), null);

    System.out.println(list1.size());

    List  list2 =
hc.getXSDHelper().define(ClassLoader.getSystemResourceAsStream("letter.xsd")
, null);

    System.out.println(list2.size());

    <!--end-->

    

    The first define action fulfill well, list1 contains the defined types.
but list2 return empty. why?

    I want to get the all defined types include the result of the first and
the second define action,

    how can I achieve it?

    

    Any help would be greatly appreciated!

 

                   Thanks !

Reply via email to