I’m a bit confused. In the documentation I read that it’s possible having 2 doctypes in a schema. But if a doctype is associated with a root node, isn’t that the same as saying that a schema has 2 roots?? Is it possible?

Thanks in advance,

Each document type is defined by a doctype.
But in one schema you may define different documents that reuse the same definitions and reside in the same target namespace.

Thus schema == document type is not true for Tamino. And it is not true for any other XML schema because no one prevents you from using any global node as root node for an instance document.