XML Import Fails with "Fatal error: line 10 column 106 Invalid character reference."
There's something at the start of this XML file that keeps the file from loading. Can someone who reads xml tell me what to fix?
This xml is generated by PhotoScore from an imported PDF, which creates occasional errors but rarely fatal errors like this. I've tried editing the Photoscore and re-exporting the xml for an hour now and just can't figure it out.
Thanks,
-Tom
Attachment | Size |
---|---|
Somewhere - Edgerton e.xml | 624.24 KB |
Comments
This is the same Photoscore issue as reported in https://musescore.org/en/node/341235: Photoscore generates incorrectly encoded characters. In this case you have to remove a block of eight characters, starting with the ampersand at column 99 up to and including the semicolon in column 106. Fixed file attached.
In reply to This is the same Photoscore… by Leon Vinken
Leon,
Thank you for fixing my file!
I don't yet know how to edit XML's directly. What tool did you use and how did you know what to do, so maybe I can fix it myself next time?
In reply to Leon, Thank you for fixing… by tomfeledy
Any editor will to, XML is plain text
In reply to Any editor will to, XML is… by Jojo-Schmitz
Is there a way to validate if a musicxml file is correct, other than just checking the schema?
I keep hearing that my Musescore musicxml files imported in Sibelius give all kinds of weird problems.
(i don't have Sibelius)
In reply to Is there a way to validate… by graffesmusic
It's interesting that PhotoScore seems somehow closely allied to Sibelius, using the same menus for tools to edit its files.
In reply to Any editor will to, XML is… by Jojo-Schmitz
Perhaps, but what is meant by "column" as in "line 10 column 106?"
In reply to Perhaps, but what is meant… by tomfeledy
column N == Nth character in that line