Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence xml space import fails with "XML documents must start and end within the same entity"

P February 4, 2021

As my title states. 

Im trying to import a space export of production into a test environment and I keep seeing this error: 

 

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: XML document structures must start and end within the same entity.

 

Caused by: com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: XML document structures
must start and end within the same entity.
at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImportInternal(DefaultXmlImporter.java:64)
at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:42)
at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:399)
... 38 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 2011371; columnNumber: 1; XML document structures must start and end
within the same entity.

 

 

1 answer

1 accepted

0 votes
Answer accepted
P February 4, 2021

The issue was I was using an incomplete export. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events