Search code examples
xmldatabasexquerymarklogic

Different Documents with the same URI in Marklogic


In the Marklogic XML DB that I am working on, there are two different documents that have the same URI. Is legal to have the same URI for different XML docs in Marklogic DB ??


Solution

  • MarkLogic documents are identified by their URI. You should not have different documents with same URI but it can happen. Take a look at this link https://help.marklogic.com/knowledgebase/article/View/22/0/handling-xdmp-dbdupuri-errors . It has suggestions on how to resolve the issue