[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MusicXML Test Suite has some bad values
From: |
Matthew James Briggs |
Subject: |
Re: MusicXML Test Suite has some bad values |
Date: |
Sun, 10 Jul 2016 11:02:32 -0700 |
I have come across a couple of other examples which I believe are incorrect
MusicXML while working with the Lilypond MusicXML test suite. I can
provide additional examples if I come across them and if this information
is useful to the Lilypond development community.
I am using MusicXML 3.0 musicxml.xsd
It looks like Lilypond's test files are old, predating the xsd, so this
might be the source of the discrepancies. I believe these examples would
fail xsd validation.
** ly01e_Pitches_ParenthesizedAccidentals.xml* incorrectly uses
"double-flat" which should be "flat-flat" instead
* *lysuite_ly22b_Staff_Notestyles.xml* incorrectly has <slash> elements
that are missing required attribute 'use-stems' and required child element
'slash-type'
* *ly23b_Atriculations_Texts.xml* cas a 'color' attribute on the 'words'
element I have examined the xsd thoughouly and I believe this is illegal
(though I'm surprised by this).
.mjb
On Sun, Jul 10, 2016 at 10:18 AM, Federico Bruni <address@hidden> wrote:
> Hi Matthew
>
> Thanks for the report
>
> Il giorno ven 8 lug 2016 alle 7:38, Matthew Briggs <
> address@hidden> ha scritto:
>
>> I have a copy of 01e-Pitches-ParenthesizedAccidentals.xml
>> which I did not obtain from
>> your site myself. When I try to check that file now
>> the link does not work.
>>
>> The file I have has these constructs in it:
>> <accidental>double-flat</accidental>
>>
>> This is illegal MusicXML, the correct value is "flat-flat",
>> "double-flat" is not a valid string.
>>
>
> I cannot comment on this.. but I've looked up for "flat" here:
> http://www.musicxml.com/for-developers/alphabetical-index/
>
> and there's no double-flat.
>
>
>
>> See musicxml.xsd lines 1223 - 1257 and also this thread
>>
>> http://forums.makemusic.com/viewtopic.php?f=12&t=2060&p=9835#p9835
>>
>> I found the broken link here
>>
>>
>> http://lilypond.org/doc/v2.18/input/regression/musicxml/collated-files.html
>>
>> The broken link is
>>
>>
>> http://lilypond.org/doc/v2.18/input/regression/musicxml/17/lily-3f3527a9.xml
>>
>>
> This is a known problem:
> https://sourceforge.net/p/testlilyissues/issues/3607/
>
> replace .xml with .ly and it will work
>
>