Mandating xsi type attribute in a xml schema

This correlation is intended to simplify the understanding of namespaces in XML and to help you visualize the namespaces concept.

There are three primary partitions in a namespace: one for global element declarations, one for global attribute declarations, and one for global type declarations (complex Type/simple Type).In contrast, when we choose, we are specifying that only the globally declared elements and attributes in the instance must have a namespace, which in turn hides the namespace complexity from the instance.But in this case, if say, the schema is modified by making some local declarations global and/or making some global declarations local, then all instance documents are affected—and the instance is no longer valid.Regardless of what we choose, the entire instance would be validated. , we are specifying that all the elements and attributes in the instance must have a namespace, which in turn adds namespace complexity to instance.If say that the schema is modified by making some local declarations global and/or making some global declarations local, then the instance documents are not affected at all.

Leave a Reply