I am trying to import many pages from another TWiki by creating an XAR file full of XWiki syntax files.
I have respected the XML format and I can import over 200 successfully, but around 40 get rejected with the message
List of erroneous pages
I use pandoc to convert the TWiki files to firstly convert the file content to html (as TWiki pages also support html) and then another pandoc to convert the html to XWiki. The XML pages that are created look ok , they have the correct ‘reference’ , ‘name’, ‘date’, ‘title’ etc.
Some of the rejected files contain some code but this code is surrounded by the XWIki {{code}} tags (inserted by pandoc). Some rejected files have references to image attachments that are not yet there (is this important?). The top WebHome page is rejected too although it is very small and it only contains a small list of URLs
What should I look out for when cleaning up the files before import?
Thanks for any tips on this