import a schema from a different collection

I have problem when i import a schema from a different collection. The error message looks like this:
<ino:response xmlns:ino=“” xmlns:xql=“”>
<ino:message ino:returnvalue=“7931”>
<ino:messagetext ino:code=“INOXDE7931”>An error occurred while processing a schema document</ino:messagetext>
ino:messagelineINOXDE7921: Line 1, Column 39: Attempted to re-use a schema specifying physical properties from a schema belonging to a different collection</ino:messageline>
The messageline points to the line

<?xml version = "1.0" encoding = "UTF-8"?>

I have no idea what is wrong.
I defined location of schema like this:
schemaLocation = “…/collectionname/importedSchemaName”
When i define the imported schema in the same collection as the importing schema, there is no problem.

Thank you in advance,



pls provide the schema in question - as of the error message the imported/included schema contains some index or mapping definitions.
This is currently not supported in a cross-collection scenario.


yes, i defined index in the imported schema.
After deleting the indexing tamino accepted it.

thank you,