The subtyping of complexTypes by restriction has not been widely used because the original specification does not allow this between schemas with different namespaces. Thus, XML schema does not allow the creation of reusable generic types (templates). This is clearly needed for object oriented design. I hope that this will be remedied in the next version of the standard.
Bob Leif |