When the SchemaManager loads the contribution, it will copy the XSD file to the target folder (nxserver/schemas).
The XSD files will then be loaded from here.
As a result, XSD files that are not referenced by the contribution won't be copied and then won't be available.
This means that for xs:include and xs:import directives to work, the referenced XSD should have been previously declared as a Nuxeo schema ...
<schema name="myincludefragment" src="schemas/myincludefragment.xsd" prefix="mcc"/> <schema name="myschema" src="schemas/myschema.xsd" prefix="rt" />
The goal if this issue if to avoid having to declare fake schemas ...