Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 10-29-2021, 01:22 AM   #1
allanmorrow
Human being with feelings
 
Join Date: Nov 2019
Posts: 15
Default XML Import into Reaper Problem (FIXED)

When importing XMLs produced by ‘Tonica Start‘ program into Reaper, get ‘unterminated comment unexpected end of file’ error. However, these files load normally into both ‘Band in a Box’ and ‘Musescore3’. In fact, if they are loaded into Musescore3 and immediately saved as XML file they will then load properly into Reaper.

Not sure if Reaper is being unduly strict in interpreting the files that won’t load, or if Tonica Start is producing non-standard files. Have had a quick look at the XML, but it is too long and involved for me easily to make sense of.

Any thoughts please?
allanmorrow is offline   Reply With Quote
Old 10-29-2021, 03:46 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,519
Default

Feel free to post the xml if you like.
schwa is offline   Reply With Quote
Old 10-29-2021, 09:49 AM   #3
allanmorrow
Human being with feelings
 
Join Date: Nov 2019
Posts: 15
Default XML Import Problem

Thanks. File attached.
Attached Files
File Type: xml moon_melody.xml (41.5 KB, 345 views)
allanmorrow is offline   Reply With Quote
Old 10-30-2021, 05:01 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,124
Default

As a workaround, try editing the second line of the .xml file by putting a space between "2.14" and the "-->", so instead of:
Code:
<!--MusicXML 2.0 file created by CapToMusic.py CapXML to MusicXML converter version 2.14-->
Make it:
Code:
<!--MusicXML 2.0 file created by CapToMusic.py CapXML to MusicXML converter version 2.14 -->
(or just delete that line entirely)... Fixing on our end, too.
Justin is offline   Reply With Quote
Old 10-30-2021, 12:08 PM   #5
allanmorrow
Human being with feelings
 
Join Date: Nov 2019
Posts: 15
Default XML Import Pronlem

Many thanks for this - think it fair to say would never have found the work-round solution on my own!
allanmorrow is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.