Distinguishing between labels and roles
-
Element names mean...
XML 1.0 talks about 'Element type declarations'. But are element names necessarily types? Are they necessarily uniform types?
-
A level of indirection
By separating the name of the element from its possible content, it becomes possible to create multiple content models for elements with the same name.
-
Names vs. types
It isn't clear that things with the same name in different contexts must always be of the same type. If context matters at all, which it occasionally does, being 'trapped' by that assumption can cause problems.
-
Little distinction, long way
By allowing developers to make that distinction (which is optional), RELAX is capable of creating tighter (or looser) definitions which more precisely fit the needs of the document structure.
Previous Page <
TOC
> Next Page