Openfire 4.0.2 & Import Export Users Plugin Issue


We have been using open fire for the last 3 years upgrading the system was the new releases gets posted. We are currently on V4.0.2.

We were requested to do a fresh installation of Openfire on Ubuntu 15.10 Export the users from the current system and import them on a fresh install of Openfire 4.0.2.

I am unable to import the user list exported from the running system

Error: The import file does not match the user schema

I initially thought there might be an issue with the export on the old system due to the upgrades done. So I connected onto the new server and created 2 users that I exported without any issues. But on importing the users I was yet again met with the same error message.

Here is an extract of the Error Log file:

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator - ERROR: element “xs:schema” is not allowed here

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator - ERROR: perhaps namespace URI “” is incorrect?

2016.06.07 12:21:29 org.jivesoftware.openfire.plugin.UserSchemaValidator -


at com.sun.msv.verifier.Verifier.startDocument(



at org.jivesoftware.openfire.plugin.UserSchemaValidator.validate(UserSchemaValidat

at org.jivesoftware.openfire.plugin.ImportExportPlugin.validateImportFile(ImportEx

at org.jivesoftware.openfire.plugin.userImportExport.import_002duser_002ddata_jsp. _jspService(

Other info that might be pertinent:

Java Version: 1.8.0_91 Oracle Corporation - OpenJDK 64-Bit Server VM

If any one can please assist with a resolution to this issue?

Kind Regards,

Viaan Snyman

Message was edited by: Viaan Snyman Never mind. Found the Resolution just after posting. If you edit the wildfire-user-schema.xds.xml file located in the plugins/userimportexport/classes folder and change the following line: <xs:schema xmlns:xs=“” elementFormDefault=“qualified”> to <xs:schema xmlns:xs=“” elementFormDefault=“qualified”> And you will be able to import your users.xml file

1 Like