Skip Navigation

Syntax error when importing Types data

Resolved

Reported for: Toolset Types 2.2

Resolved in: Toolset Types 2.2.4

Topic Tags: Types plugin

Symptoms

In some cases, importing an XML file with Types data fails with errors like this:

Error parsing XML
StartTag: invalid element name
expected '>'
Opening and ending tag mismatch: object_type line 811 and unparseable
Opening and ending tag mismatch: taxonomy line 761 and object_type
Opening and ending tag mismatch: taxonomies line 700 and taxonomy
Opening and ending tag mismatch: types line 2 and taxonomies
Extra content at the end of the document
Data not valid

This is caused by an error when the file was generated.

Workaround

The problem is solved in the upcoming version of Types. In the meantime, download and unzip this file and replace module-manager.php in the directory types/library/toolset/types/embedded/includes/

It will be necessary to export Types data again with the updated or patched plugin version and use the new XML file instead.

Comments are closed