Debugging Concrete5 imports

Permalink
I'm having a hard time getting the CIF-XML right for importing external content into C5. What I basically did was create a C5-site from scratch, setting up the whole structure, adding dummy content, packaging the theme, exporting it all using the Sample Content Generator, then using the theme package, content.xml and a clean install of C5 to try and restore what I built. I figured when I get that to work, I can start adding external content directly to the XML before importing.

However, rebuilding the site using the package and content.xml throws al sorts of errors, most of them quite general in nature (such as "Call to a member function getNodeByDisplayPath() on null"), making it tough figuring out where exactly to find the problem.

Can anyone familiar with importing large amounts of content into C5 shed some light on what's the best strategy of debugging the XML to get an import to work?

Appreciated! :-)