Hi,

On Tue, 22 Jun 2010 17:51:12 +0200
"Maarten de Keijzer" <maarten.de.keij...@hccnet.nl> wrote:

> I am using Lilypond on an XP machine, and I am trying to convert some
> (compressed) XML files from Capella.
> But all ends each time with the same error messages:
>  
> C:\Temp\nc\XML>musicxml2ly -v Yes.capx
> Reading MusicXML from Yes.capx ...
> Traceback (most recent call last):
>   File "C:\Program Files\Easy

/snip/

> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1,
> column 2
>  
> Can someone tell what is wrong; I assume that something in the
> scripts is incorrect.

It could be the presence of a BOM [1] or capella doesn't specify the
encoding in the XML file as it writes it. Expat, I believe, assumes
utf-8 encoding if none is specified.

David

[1] http://www.opentag.com/xfaq_enc.htm#enc_bom



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to