Clearing the Expanded Tree Cache on each host when redeploying XML Schemas in MarkLogic Server
In some cases, when you are redeploying a revised XML Schema to an existing schema database, MarkLogic can sometimes refer to an older, cached version of the schema data associated with a given document.