error importing xml
I have a huge but old colection of files created with musictime. The newest version of Encore can export them to xml, so I thought I would try that out. But keep getting import errors (or perhaps they are export errors?)
When I open the newly created export I get and error: Unexpected end of line at line 131 column 13. And sure enough there are some weird characters at that position. So I thought I simply remove them. But then the error changes into: Tag mismatch at line 131 column 19. I have attached an original export. What can I do to rectify these errors?
Keep wel, Ursus
Attachment | Size |
---|---|
Am Gesteine, Brahms.xml | 689.18 KB |
Comments
There are multiple problems with the MusicXML. First it's a UTF-16 encoding text file, without byte order mark... In clear, it's not easy to read at a very low level since the computer does not know in which order the bytes are sorted. Once solved, there is indeed some garbage on one line. I removed it and close the "words" element accordingly.
Then regarding the structure of the files, the following 3 measures are not complete... and there is a lot of forward/backup elements making garbage.
I edited the file with a proper text editor (PsPad) and you can find the result attached.
The exported MusicXML is definatly bad...
In reply to There are multiple problems by [DELETED] 5
The wow as: thanks a lot for all your trouble.
The sigh because I have about 200 old files (musictime) which I wanted to transfer, but it seems I will have to keep the old copy of the program alive. No way i'm going through all those files by hand.
Well thanks again and keep well, Ursus
In reply to wow and sigh by Ursus
A large part of the process could be automated if you want to migrate all these scores. Try a couple more, you never know.