lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML2Liliypond conversion


From: David Santamauro
Subject: Re: XML2Liliypond conversion
Date: Tue, 22 Jun 2010 12:32:25 -0400

Hi,

On Tue, 22 Jun 2010 17:51:12 +0200
"Maarten de Keijzer" <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]