{"action":"created","issue":{"url":"https://api.github.com/repos/music-encoding/music-encoding/issues/196","labels_url":"https://api.github.com/repos/music-encoding/music-encoding/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/music-encoding/music-encoding/issues/196/comments","events_url":"https://api.github.com/repos/music-encoding/music-encoding/issues/196/events","html_url":"https://github.com/music-encoding/music-encoding/issues/196","id":82061796,"number":196,"title":"Usage of saxon:evaluate() in musicxml2mei-3.0.xsl","user":{"login":"ahankinson","id":163183,"avatar_url":"https://avatars.githubusercontent.com/u/163183?v=3","gravatar_id":"","url":"https://api.github.com/users/ahankinson","html_url":"https://github.com/ahankinson","followers_url":"https://api.github.com/users/ahankinson/followers","following_url":"https://api.github.com/users/ahankinson/following{/other_user}","gists_url":"https://api.github.com/users/ahankinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ahankinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahankinson/subscriptions","organizations_url":"https://api.github.com/users/ahankinson/orgs","repos_url":"https://api.github.com/users/ahankinson/repos","events_url":"https://api.github.com/users/ahankinson/events{/privacy}","received_events_url":"https://api.github.com/users/ahankinson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/music-encoding/music-encoding/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/music-encoding/music-encoding/labels/Priority-High","name":"Priority-High","color":"FFFFFF"},{"url":"https://api.github.com/repos/music-encoding/music-encoding/labels/Type-Bug","name":"Type-Bug","color":"FFFFFF"}],"state":"open","locked":false,"assignee":{"login":"ahankinson","id":163183,"avatar_url":"https://avatars.githubusercontent.com/u/163183?v=3","gravatar_id":"","url":"https://api.github.com/users/ahankinson","html_url":"https://github.com/ahankinson","followers_url":"https://api.github.com/users/ahankinson/followers","following_url":"https://api.github.com/users/ahankinson/following{/other_user}","gists_url":"https://api.github.com/users/ahankinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ahankinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahankinson/subscriptions","organizations_url":"https://api.github.com/users/ahankinson/orgs","repos_url":"https://api.github.com/users/ahankinson/repos","events_url":"https://api.github.com/users/ahankinson/events{/privacy}","received_events_url":"https://api.github.com/users/ahankinson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/music-encoding/music-encoding/milestones/4","html_url":"https://github.com/music-encoding/music-encoding/milestones/backlog","labels_url":"https://api.github.com/repos/music-encoding/music-encoding/milestones/4/labels","id":1138308,"number":4,"title":"backlog","description":null,"creator":{"login":"ahankinson","id":163183,"avatar_url":"https://avatars.githubusercontent.com/u/163183?v=3","gravatar_id":"","url":"https://api.github.com/users/ahankinson","html_url":"https://github.com/ahankinson","followers_url":"https://api.github.com/users/ahankinson/followers","following_url":"https://api.github.com/users/ahankinson/following{/other_user}","gists_url":"https://api.github.com/users/ahankinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ahankinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahankinson/subscriptions","organizations_url":"https://api.github.com/users/ahankinson/orgs","repos_url":"https://api.github.com/users/ahankinson/repos","events_url":"https://api.github.com/users/ahankinson/events{/privacy}","received_events_url":"https://api.github.com/users/ahankinson/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":25,"state":"open","created_at":"2015-05-28T15:32:17Z","updated_at":"2015-05-28T18:13:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-05-28T18:13:03Z","updated_at":"2015-05-28T18:13:09Z","closed_at":null,"body":"_From [roewenst...@gmail.com](https://code.google.com/u/107386258860154419675/) on July 31, 2014 10:12:27_\n\nThe usage of the Saxon extension function evaluate() forces users to have a Saxon EE license and it doesn't seem to be necessary.\r\n\r\nThe line 1790 could be rewritten from\r\n\r\n\\<xsl:value-of select=\"saxon:evaluate(ancestor::part[attributes/time/beats]/attributes/time/beats)\"/>\r\n\r\nto\r\n\r\n\\<xsl:value-of select=\"ancestor::part[attributes/time/beats]/attributes/time/beats\"/>\r\n\r\nThe lines 1794, 3857, 3861 can be rewritten in the same way.\r\n\r\nCheers, Daniel\n\n_Original issue: http://code.google.com/p/music-encoding/issues/detail?id=196_"},"comment":{"url":"https://api.github.com/repos/music-encoding/music-encoding/issues/comments/106543527","html_url":"https://github.com/music-encoding/music-encoding/issues/196#issuecomment-106543527","issue_url":"https://api.github.com/repos/music-encoding/music-encoding/issues/196","id":106543527,"user":{"login":"ahankinson","id":163183,"avatar_url":"https://avatars.githubusercontent.com/u/163183?v=3","gravatar_id":"","url":"https://api.github.com/users/ahankinson","html_url":"https://github.com/ahankinson","followers_url":"https://api.github.com/users/ahankinson/followers","following_url":"https://api.github.com/users/ahankinson/following{/other_user}","gists_url":"https://api.github.com/users/ahankinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ahankinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahankinson/subscriptions","organizations_url":"https://api.github.com/users/ahankinson/orgs","repos_url":"https://api.github.com/users/ahankinson/repos","events_url":"https://api.github.com/users/ahankinson/events{/privacy}","received_events_url":"https://api.github.com/users/ahankinson/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T18:13:09Z","updated_at":"2015-05-28T18:13:09Z","body":"_From [pd...@virginia.edu](https://code.google.com/u/103686026181985548448/) on July 31, 2014 14:18:12_\n\nI was wrong about the reason for using saxon:evaluate. It seems that it's actually being used to choose between \\<space> and \\<mSpace> when a MusicXML rest doesn't specify that its duration equals a measure (using @-measure='yes') and \\<type> is missing.\r\n\r\nA better option might be to use the rest's position in the measure; that is, if it's the only event in the measure, then it gets transformed into \\<mRest>; otherwise, it becomes a \\<rest>. The complicating factor, however, is \\<backup/>, which makes it more difficult to determine the rest's position in the measure.\r\n\r\nStill working on it ..."}}