- 🇬🇧United Kingdom steven jones
Closing this as a duplicate of 🐛 JSON is invalid when multiple batches are needed Active
When exporting XML with a batch process (100 items per batch) the root node is repeated on every 100 items.
So if an export is request with 300 items, when the XML file is created - it contains 3 root nodes and 3 declarations of the XML version (<?xml version="1.0">). Something like:
<?xml version ="1.0"?>
<items>... 100 items ...</items>
<?xml version="1.0"?>
<items>... 100 items ...</items>
How can we remove the duplicate root nodes?
Remove the duplicate root nodes and xml declaration
Closed: duplicate
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing this as a duplicate of 🐛 JSON is invalid when multiple batches are needed Active