Converting non-EDI templates 6.5 error

When I attempt to migrate non-edi templates to 6.5 using the migrate templates process in the managment screen I get a 'Failed: Segment delimiter cannot be null".
Can anyone help?
The template record is set-up as carrage/return line space:

 <?xml version="1.0"?>


The conversion services expect the tag to be a top level tag. The top level tag in this case is . This can be addressed by calling the service wm.b2b.edi.migration:migrateTemplate directly and mapping the document directly to the service input oldTemplate.