here's an algorithm that summarizes the possible case for using import or include.
suppose A.xsd and B.xsd two files;
- if (targetNamesapce attribute is not defined in the two files OR defined in both with the same value (same namespace)) {use the include element;}
- else {use the import element}
what is your opinion about this algorithm? valid or not?
thank you in advance