Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Decoding] Accidental not decoding properly #17

Closed
jsbean opened this issue Dec 20, 2018 · 0 comments · Fixed by #25
Closed

[Decoding] Accidental not decoding properly #17

jsbean opened this issue Dec 20, 2018 · 0 comments · Fixed by #25
Labels
bug Something isn't working

Comments

@jsbean
Copy link
Member

jsbean commented Dec 20, 2018

The Accidental structure is defined in MusicXML as:

<!ELEMENT accidental (#PCDATA)>
<!ATTLIST accidental
    cautionary %yes-no; #IMPLIED
    editorial %yes-no; #IMPLIED
    %level-display;
    %print-style;
    %smufl;
>

An example of this in the wild is:

<accidental editorial="yes" cautionary="yes">flat</accidental>

Due to CoreOffice/XMLCoder#12, elements which have both values (e.g., the #PCDATA which is "sharp", "flat", etc.) and attributes (e.g., cautionary, editorial) are not yet decodable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant