{"action":"opened","issue":{"url":"https://api.github.com/repos/wbsoft/python-ly/issues/38","labels_url":"https://api.github.com/repos/wbsoft/python-ly/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/wbsoft/python-ly/issues/38/comments","events_url":"https://api.github.com/repos/wbsoft/python-ly/issues/38/events","html_url":"https://github.com/wbsoft/python-ly/issues/38","id":86079568,"number":38,"title":"Validation of <score-part> and <voice>","user":{"login":"uliska","id":1812148,"avatar_url":"https://avatars.githubusercontent.com/u/1812148?v=3","gravatar_id":"","url":"https://api.github.com/users/uliska","html_url":"https://github.com/uliska","followers_url":"https://api.github.com/users/uliska/followers","following_url":"https://api.github.com/users/uliska/following{/other_user}","gists_url":"https://api.github.com/users/uliska/gists{/gist_id}","starred_url":"https://api.github.com/users/uliska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uliska/subscriptions","organizations_url":"https://api.github.com/users/uliska/orgs","repos_url":"https://api.github.com/users/uliska/repos","events_url":"https://api.github.com/users/uliska/events{/privacy}","received_events_url":"https://api.github.com/users/uliska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wbsoft/python-ly/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wbsoft/python-ly/labels/musicxml%20export","name":"musicxml export","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T08:22:14Z","updated_at":"2015-06-08T08:22:14Z","closed_at":null,"body":"Starting to give reports about MusicXML validation errors in `oXygen`.\r\n\r\nThe simple file `{ c }` produces two validation errors:\r\n\r\n1. The content of element type \"score-part\" is incomplete, it must match \"(identification?,part-name,part-name-display?,part-abbreviation?,part-abbreviation-display?,group* ,score-instrument* ,(midi-device?,midi-instrument?)*)\".\r\n\r\n2. Unexpected element \"voice\". The content of the parent element type must match \"(((grace,(chord?,(pitch|unpitched|rest)),(tie,tie?)?)|(cue,(chord?,(pitch|unpitched|rest)),duration)|(chord?,(pitch|unpitched|rest),duration,(tie,tie?)?)),instrument?,(footnote?,level?,voice?),type?,dot* ,accidental?,time-modification?,stem?,notehead?,notehead-text?,staff?,beam* ,notations* ,lyric* ,play?)\".\r\n\r\n---\r\n\r\nExported XML file for reference:\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE score-partwise PUBLIC \"-//Recordare//DTD MusicXML 2.0 Partwise//EN\"\r\n                                \"http://www.musicxml.org/dtds/partwise.dtd\">\r\n<score-partwise version=\"3.0\">\r\n  <identification>\r\n    <encoding>\r\n      <software>Frescobaldi 2.18.1</software>\r\n      <encoding-date>2015-06-08</encoding-date>\r\n    </encoding>\r\n  </identification>\r\n  <part-list>\r\n    <score-part id=\"P1\" />\r\n  </part-list>\r\n  <part id=\"P1\">\r\n    <measure number=\"1\">\r\n      <attributes>\r\n        <divisions>1</divisions>\r\n        <time symbol=\"common\">\r\n          <beats>4</beats>\r\n          <beat-type>4</beat-type>\r\n        </time>\r\n        <clef>\r\n          <sign>G</sign>\r\n          <line>2</line>\r\n        </clef>\r\n      </attributes>\r\n      <note>\r\n        <pitch>\r\n          <step>C</step>\r\n          <octave>3</octave>\r\n        </pitch>\r\n        <duration>1</duration>\r\n        <type>quarter</type>\r\n        <voice>1</voice>\r\n      </note>\r\n    </measure>\r\n  </part>\r\n</score-partwise>\r\n```"}}