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

Improve handling of number attribute in lyric element #42

Open
mdgood opened this issue Aug 14, 2015 · 0 comments
Open

Improve handling of number attribute in lyric element #42

mdgood opened this issue Aug 14, 2015 · 0 comments

Comments

@mdgood
Copy link

mdgood commented Aug 14, 2015

Michael Cuthbert (@mscuthbert) raised the point that the number attribute in the element is confusing, as despite the name it can be non-numeric:

I think it's a bad idea that Lyric's "number" attribute can actually be any character data, not just a number. Can "number" attributes which don't need to be numbers be either (a) restricted to numbers, (b) renamed, or (c) have a strong warning that implementations should not store them as ints?

This issue applies to the number attribute in the lyric element. Any other element attributes with this issue may need to be addressed on a case-by-case basis to determine the best approach between the different alternatives.

See the MusicXML forum discussion at http://forums.makemusic.com/viewtopic.php?f=12&t=2392#p6460.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant